#41001 [Opn]: magic_qoutes_gpc off, but still adding slashes

From: Date: Thu, 05 Apr 2007 08:45:55 +0000
Subject: #41001 [Opn]: magic_qoutes_gpc off, but still adding slashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-111140@lists.php.net to get a copy of this message
ID: 41001 User updated by: marc at bhosted dot nl Reported By: marc at bhosted dot nl Status: Open Bug Type: PHP options/info functions Operating System: Linux version 2.4.21 PHP Version: 5.2.1 New Comment: A little more information: URL example: http://localhost/phpinfo.php?test=test'test .htaccess: <IfModule mod_php.c> php_flag magic_quotes_gpc off </IfModule> phpinfo.php Source: <?php print $_GET['test']; phpinfo(); ?> Result: test\'test <phpinfo reports local magic_quotes_gpc is off, master magic_quotes_gpc is on> Previous Comments: ------------------------------------------------------------------------ [2007-04-05 08:38:50] marc at bhosted dot nl Description: ------------ Using: htscanner 0.8.1 PHP 5.2.1 as CGI (suphp). Setting magic_quotes_gpc to off using .htaccess. phpinfo reports magic_quotes_gpc local is off, master is still on. Testing this with a $_GET results in the slash still added ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41001&edit=1

« previous php.bugs (#111140) next »