Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

게시판 아이디를 content로 생성하면 짧은주소 기능과 충돌하는 문제 #299

Closed
kkigomi opened this issue Dec 18, 2023 · 1 comment

Comments

@kkigomi
Copy link
Contributor

kkigomi commented Dec 18, 2023

function get_bo_table_banned_word(){
$folders = array();
foreach(glob(G5_PATH.'/*', GLOB_ONLYDIR) as $dir) {
$folders[] = basename($dir);
}
return run_replace('get_bo_table_banned_word', $folders);
}

게시판을 content로 생성하면 "내용관리" 기능과 충돌합니다.

기본 rewrite 설정으로는 "내용관리"가 우선하고, /contentcontent 게시판 목록이 표시되나 글 쓰기 페이지(/content/write) 주소 등으로 인해 충돌이 발생합니다.

게시판 생성 시 content를 사용할 수 없도록 제한할 필요가 있어 보입니다.

function get_bo_table_banned_word(){

    $folders = array('content');
    // ...
}

또한, rss도 기본 rewrite에 포함되어 있기 때문에 rss도 제한하는 것을 고려해봐야 할 것 같네요.

@thisgun
Copy link
Contributor

thisgun commented Jan 2, 2024

안녕하세요. SIR 입니다.

알려주셔서 감사합니다.

그누보드(영카트) 5.5.11 버전에 해당 내용을 적용했습니다.

@kkigomi kkigomi closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants