Ticket #84 (closed Bug report: fixed)

Opened 13 years ago

Last modified 12 years ago

Error : array_walk_recursive($_GLOBALS, 'stripslashes_cb');

Reported by: Prospere Owned by: max-horvath
Priority: blocker Milestone: WifiDog Auth Server 1.0
Component: Auth server, Other Version: Auth Server SVN
Keywords: Cc:

Description

On my server $_GLOBALS seems not to be an Array .... Strange ..

The argument should be an array in /var/www/wifidog-auth/wifidog/include/init_php.php on line 72

if (get_magic_quotes_gpc()) {
    array_walk_recursive($_GET, 'stripslashes_cb');
    array_walk_recursive($_POST, 'stripslashes_cb');
    array_walk_recursive($_COOKIE, 'stripslashes_cb');
    array_walk_recursive($_REQUEST, 'stripslashes_cb');
--> array_walk_recursive($_GLOBALS, 'stripslashes_cb');
    array_walk_recursive($_SERVER, 'stripslashes_cb');
}

Change History

Changed 13 years ago by max-horvath

  • status changed from new to assigned
  • milestone set to WifiDog Auth Server 1.0

Strange indeed, but it'll be fixed in the next commit (function will check for an array) ...

Changed 13 years ago by max-horvath

  • component changed from Auth server: Authentication to Auth server: General

Changed 13 years ago by max-horvath

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.