Browse Source

Ticket #4515 : get_magic_quotes_gpc() n’existe plus en PHP 8.

pull/51/head
Matthieu Marcillaud 1 year ago
parent
commit
be3b4611c2
  1. 2
      config/ecran_securite.php

2
config/ecran_securite.php

@ -347,7 +347,7 @@ and is_string($_REQUEST['ordre'])){
* Bloque les requêtes contenant %00 (manipulation d'include)
*/
if (strpos(
@get_magic_quotes_gpc() ?
(function_exists('get_magic_quotes_gpc') and @get_magic_quotes_gpc()) ?
stripslashes(serialize($_REQUEST)) : serialize($_REQUEST),
chr(0)
) !== false)

Loading…
Cancel
Save