|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11752 Backslash parameter passing in Forms
Submitted: 2001-06-27 13:40 UTC Modified: 2001-06-27 13:42 UTC
From: Guido dot Laubner at morse dot com Assigned:
Status: Not a bug Package: Strings related
PHP Version: 4.0.4pl1 OS: Solaris 8 / Intel
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: Guido dot Laubner at morse dot com
New email:
PHP Version: OS:


 [2001-06-27 13:40 UTC] 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)

Why is this ? How do i pass just one backslash ?

Thanks a lot


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-27 13:42 UTC]

(hint. check your php.ini..and set magic_quotes_gpc=off)

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Feb 23 05:01:27 2024 UTC