php.net |  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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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)
backslashes

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

Thanks a lot
Cheers
Guido



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-27 13:42 UTC] sniper@php.net
RFTM.

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

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC