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

Commit

Permalink
sst 변수 필터링 특수문자 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
chicpro committed Apr 20, 2016
1 parent b6f3f50 commit b6207c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.php
Expand Up @@ -255,7 +255,7 @@ function sql_escape_string($str)

if (isset($_REQUEST['sst'])) {
$sst = trim($_REQUEST['sst']);
$sst = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $sst);
$sst = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\/\^\*\s]/", "", $sst);
if ($sst)
$qstr .= '&amp;sst=' . urlencode($sst); // search sort (검색 정렬 필드)
} else {
Expand Down

0 comments on commit b6207c1

Please sign in to comment.