PHP Bug Type: Strings related ???
| From: | Guido Laubner | Date: | Wed, 27 Jun 2001 17:39:33 +0000 |
| Subject: | PHP Bug Type: Strings related ??? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58255@lists.php.net to get a copy of this message | ||
From: Guido.Laubner@morse.com
Operating system: Solaris 8 / Intel
PHP version: 4.0.4pl1
PHP Bug Type: Strings related
Bug description: Backslash parameter passing in Forms
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
Sorry, the web page reported a bug in /local/Web/sites/phpweb/bugs.php on
line 419
and said : "Sorry, mail not sent!" and asked me to send this mail manually.
+=================================================================+
| Guido Laubner Phone : +49 6102 7786 618 |
| Morse Computers Fax : +49 6102 7786 666 |
| Martin-Behaim-Strasse 19-21 Email : Guido.Laubner@morse.com |
| 63263 Neu-Isenburg WEB : http://www.morse.com
|
+=================================================================+