loosen strictness of sorting xss fix a bit - did not work anymore
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@462 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
cadcca8d6a
commit
483e9f0747
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ function getSortOrder($override = NULL) {
|
||||||
global $defaultOrderBy;
|
global $defaultOrderBy;
|
||||||
|
|
||||||
if (isset($_GET['sort'])) {
|
if (isset($_GET['sort'])) {
|
||||||
return preg_replace('/[^a-z]/', '', $_GET['sort']);
|
return preg_replace('/[^a-z_]/', '', $_GET['sort']);
|
||||||
} else if (isset($override)) {
|
} else if (isset($override)) {
|
||||||
return $override;
|
return $override;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue