Fix debian bug #656392 - correct detection of suhosin.server_strip status.

This commit is contained in:
Andrew McMillan 2012-06-26 18:44:54 +12:00
parent 35a5518971
commit 3239a0bdd8

View File

@ -145,7 +145,9 @@ function check_suhosin_server_strip() {
global $loaded_extensions;
if ( !isset($loaded_extensions['suhosin']) ) return new CheckResult(true);
return new CheckResult( ini_get('suhosin.server.strip') == "0" || strtolower(ini_get('suhosin.server.strip')) == "off" );
return new CheckResult( ini_get('suhosin.server.strip') == "0"
|| strtolower(ini_get('suhosin.server.strip')) == "off"
|| ini_get('suhosin.server.strip') == "" );
}
function check_magic_quotes_gpc() {