XSS 취약점 수정
This commit is contained in:
1 parent
ac5d6a4be7
commit
b1fc952c76
12 files changed
+26
-13
No files matched your search
@@ -20,6 +20,7 @@ if ($w == "" || $w == "u")
|
||||
$co_row = sql_fetch($sql);
|
||||
}
|
||||
|
||||
$co_subject = strip_tags($co_subject);
|
||||
$co_include_head = preg_replace(array("#[\\\]+$#", "#(<\?php|<\?)#i"), "", substr($co_include_head, 0, 255));
|
||||
$co_include_tail = preg_replace(array("#[\\\]+$#", "#(<\?php|<\?)#i"), "", substr($co_include_tail, 0, 255));
|
||||
|
||||
|
||||
Reference in new issue
Block a user