diff --git a/framework/base/router.class.php b/framework/base/router.class.php index 64db3795f6..e3444e5e77 100644 --- a/framework/base/router.class.php +++ b/framework/base/router.class.php @@ -691,7 +691,6 @@ class baseRouter $_POST = validater::filterSuper($_POST); $_GET = validater::filterSuper($_GET); $_COOKIE = validater::filterSuper($_COOKIE); - $_SERVER = validater::filterSuper($_SERVER); /* Filter common get and cookie vars. */ if($this->config->framework->filterParam == 2) diff --git a/lib/base/filter/filter.class.php b/lib/base/filter/filter.class.php index 74413a0f7c..78be1a0b93 100644 --- a/lib/base/filter/filter.class.php +++ b/lib/base/filter/filter.class.php @@ -661,11 +661,11 @@ class baseValidater global $config; if(empty($config->framework->filterXSS)) return $var; - if(stripos($var, '<script') !== false || stripos($var, '