#11752 [Com]: Backslash parameter passing in Forms
| From: | Pictures-Tits1054 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:07:51 +0000 |
| Subject: | #11752 [Com]: Backslash parameter passing in Forms | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62994@lists.php.net to get a copy of this message | ||
ID: 11752
Comment by: Pictures-Tits1054 at hotmail dot com
Reported By: Guido dot Laubner at morse dot com
Status: Bogus
Bug Type: Strings related
Operating System: Solaris 8 / Intel
PHP Version: 4.0.4pl1
New Comment:
<a href=http://www.geocities.com/jrmreezzv357/>Pictures
Tits</a>
Previous Comments:
------------------------------------------------------------------------
[2001-06-27 13:42:46] sniper@php.net
RFTM.
(hint. check your php.ini..and set magic_quotes_gpc=off)
------------------------------------------------------------------------
[2001-06-27 13:40:29] Guido dot Laubner at morse dot com
Here's instructions on how to reproduce :
1. Create a php-file with this content :
<HTML> <BODY> <?php print( $p ); ?> </BODY> </HTML>
and call it whatever you want (eg. blah.php)
2. Next call the URL eg. http://server/blah.php?p=/
2a. Same with http://server/blah.php?p=%5c
The apache access_log shows the very same url one typed into
netscape or explorer, so this looks fine to me.
3. Look at the output page. It'll show 2 (in words : two)
backslashes
Why is this ? How do i pass just one backslash ?
Thanks a lot
Cheers
Guido
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11752&edit=1