쿼리문에서 따옴표 제대로 제거되지 않는 오류 수정
This commit is contained in:
1 parent
061c0f0c6e
commit
feb06c3fde
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ include_once('../common.php');
|
||||
|
||||
if (isset($_REQUEST['sort'])) {
|
||||
$sort = trim($_REQUEST['sort']);
|
||||
$sort = preg_replace("/[\<\>\'\"\%\=\(\)\s]/", "", $sort);
|
||||
$sort = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $sort);
|
||||
} else {
|
||||
$sort = '';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user