#41001 [Opn->Bgs]: magic_qoutes_gpc off, but still adding slashes
| From: | tony2001@php.net | Date: | Thu, 05 Apr 2007 08:52:19 +0000 |
| Subject: | #41001 [Opn->Bgs]: magic_qoutes_gpc off, but still adding slashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111141@lists.php.net to get a copy of this message | ||
ID: 41001
Updated by: tony2001@php.net
Reported By: marc at bhosted dot nl
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
Operating System: Linux version 2.4.21
PHP Version: 5.2.1
New Comment:
htscanner issues should be reported using PECL bug tracker.
Previous Comments:
------------------------------------------------------------------------
[2007-04-05 08:45:55] marc at bhosted dot nl
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>
------------------------------------------------------------------------
[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