ID:               16027
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Linux
 PHP Version:      4.1.2
 New Comment:

Check your php.ini..you have 'magic_quotes_gpc=On' there. Turn it off
and you won't see the slash.
Not a bug but expected behaviour.

--Jani



Previous Comments:
------------------------------------------------------------------------

[2002-03-12 18:28:08] [EMAIL PROTECTED]

After decoding a GET-request containing %D0%27 an extraneous \ is
inserted between the two characters. This may easily reproduced by
calling a PHP-page containing phpinfo(), calling it with ?request=%D027
ad taking a look at the "PHP Variables" section.

_GET["request"] �\'�
_SERVER["REQUEST_METHOD"] GET�
_SERVER["QUERY_STRING"] request=%D0%27�
_SERVER["REQUEST_URI"] /bla.php?request=%D0%27

For your convenience I've added some more lines from the output:

_SERVER["SERVER_SOFTWARE"] Apache/1.3.23 (Unix) mod_ssl/2.8.7
OpenSSL/0.9.6b PHP/4.1.2�

Configure Command�'./configure' '--with-pgsql'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--without-mysql'
'--enable-sysvshm' '--enable-sysvsm'
'--with-config-file-path=/usr/local/apache' '--enable-track-vars'
'--enable-force-cgi-redirect' '--with-gettext'
'--enable-inline-optimization'

I've seen the bug the first time with PHP 4.0.6,then checked against
PHP 4.1.2.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16027&edit=1

Reply via email to