Open
Conversation
|
빠트렸던 부분이긴 한 것 같은데요. 어떤 태그가 올지 모르니 그냥 두어도 괜찮지 않을까요? |
Contributor
Author
|
@bnu 원래 글이나 댓글에 있던 (즉, 이미 removeHackTag를 거친) 내용이겠지요. 그대로 표시해도 보안상 문제가 생길 것 같지는 않습니다. 좀 간결하게 표시하고 싶다면 strip_tags를 적용하되 이미지나 동영상 등은 남겨두는 방법도 있겠고요. 휴지통에 있는 글을 관리자가 다시 찾아보아야 하는 경우가 종종 있습니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
휴지통에 버려진 글을 관리자가 열람하려고 하면 내용의 태그가 그대로 다 표시되는 문제가 있습니다. 해당 부분에 noescape 필터를 적용하여 수정했습니다.