mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
applet 태그에 대해 관리자가 작성한 글이 아니라면 태그 동작을 하지 않도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6343 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
01a374c403
commit
b476c02ee2
1 changed files with 1 additions and 1 deletions
|
|
@ -524,7 +524,7 @@
|
|||
**/
|
||||
function removeHackTag($content) {
|
||||
// 특정 태그들을 일반 문자로 변경
|
||||
$content = preg_replace('/<(\/?)(iframe|script|meta|style)/is', '<$1$2', $content);
|
||||
$content = preg_replace('/<(\/?)(iframe|script|meta|style|applet)/is', '<$1$2', $content);
|
||||
|
||||
// XSS 사용을 위한 이벤트 제거
|
||||
$content = preg_replace_callback("!<([a-z]+)(.*?)>!is", removeJSEvent, $content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue