Merge branch 'g5'

This commit is contained in:
chicpro committed 2014-08-08 13:40:07 +09:00
commit 065404ee41
6 files changed
+29 -13

No files matched your search

+8
View File
@@ -2668,6 +2668,14 @@ function get_search_string($stx)
return $stx;
}
// XSS 관련 태그 제거
function clean_xss_tags($str)
{
$str = preg_replace('#</*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|i(?:frame|layer)|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|title|xml)[^>]*+>#i', '', $str);
return $str;
}
// unescape nl 얻기
function conv_unescape_nl($str)
{