Permalink
Browse files

Merge pull request #1568 from SlKelevro/clean-get-after-replace

fixed $_GET not being cleaned after it is replaced in Input::uri()
  • Loading branch information...
2 parents 4113713 + a2f5347 commit aab6b1541afe410c088c26c83edb5c0a9b779d3b @WanWizard WanWizard committed Nov 7, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 classes/input.php
View
@@ -180,6 +180,7 @@ public static function uri()
{
$_SERVER['QUERY_STRING'] = $matches[2];
parse_str($matches[2], $_GET);
+ $_GET = \Security::clean($_GET);
}
}
}

0 comments on commit aab6b15

Please sign in to comment.