Remove XSS vulnerabilty in debug code

This commit is contained in:
Deon George 2011-07-27 07:30:06 +10:00
parent caeba72171
commit 64668e882b

View File

@ -19,10 +19,6 @@ $www['meth'] = get_request('meth','REQUEST');
ob_start();
switch ($www['cmd']) {
case '_debug':
debug_dump($_REQUEST,1);
break;
default:
if (defined('HOOKSDIR') && file_exists(HOOKSDIR.$www['cmd'].'.php'))
$app['script_cmd'] = HOOKSDIR.$www['cmd'].'.php';