Merge pull request #3037 from DevelopmentDocumentopia/xss_clean_patch
xss_clean is not protecting GET requests that &item=/startwithslash
diff --git a/system/core/Security.php b/system/core/Security.php
old mode 100644
new mode 100755
index 17ba3bc..c9258b0
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -862,7 +862,7 @@
*/
// 901119URL5918AMP18930PROTECT8198
- $str = preg_replace('|\&([a-z\_0-9\-]+)\=([a-z\_0-9\-]+)|i', $this->xss_hash().'\\1=\\2', $str);
+ $str = preg_replace('|\&([a-z\_0-9\-]+)\=([a-z\_0-9\-/]+)|i', $this->xss_hash().'\\1=\\2', $str);
/*
* Validate standard character entities