Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
sca 필터링 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chicpro committed Jan 21, 2016
1 parent 0104395 commit 986ecbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function sql_escape_string($str)
if (isset($_REQUEST['sca'])) {
$sca = clean_xss_tags(trim($_REQUEST['sca']));
if ($sca) {
$sca = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $sca);
$sca = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)]/", "", $sca);
$qstr .= '&amp;sca=' . urlencode($sca);
}
} else {
Expand Down

0 comments on commit 986ecbb

Please sign in to comment.