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

글쓰기에서 '미리보기' 버튼 클릭시 html 소스가 노출되는 현상 #2408

Closed
sejin7940 opened this issue Jul 1, 2019 · 1 comment
Labels
Milestone

Comments

@sejin7940
Copy link
Contributor

XE 1.11.0 이후에서 글쓰기에서 '미리보기' 버튼 클릭시 html 소스가 노출되는 현상이 발생합니다

미리보기 기능 자체는 Core 자체에 포함이 되어있는 기능이고
게시판 스킨에 따라 '미리보기' 기능을 지원하는 경우가 있습니다.
( 예를들면 스케치북 스킨 )

단, 최신 XE 에서 보안때문에 변경된 부분에 의해
미리보기시 html 태그가 그대로 노출되는 현상이 발생합니다.

modules/document/tpl/preview_page.html 에서

{$content}

를 아래걸로 변경

{$content|noescape}

@ghost ghost self-assigned this Jul 1, 2019
@ghost ghost added the type/bug label Jul 1, 2019
@ghost ghost added this to the 1.11-next milestone Jul 1, 2019
@ghost ghost modified the milestones: 1.11-next, 1.11.6 Oct 21, 2019
@ghost
Copy link

ghost commented Oct 21, 2019

감사합니다. 제안하신 것처럼 수정했습니다.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant