Re: PHP Bug Type: Strings related ???

From: Date: Thu, 28 Jun 2001 16:16:45 +0000
Subject: Re: PHP Bug Type: Strings related ???
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-58354@lists.php.net to get a copy of this message
You have magic_quotes_gpc turned on. You will need to stripslashes anything passed in as a GET var. You can turn this off in php.ini or Apache conf files (including .htaccess). See the configuration portion of the manual for instructions. Brian Moon ------------------------------------------ dealnews.com, Inc. Makers of dealnews & dealmac http://dealnews.com/ | http://dealmac.com/ ----- Original Message ----- From: "Guido Laubner" <Guido.Laubner@morse.com> To: <php-dev@lists.php.net> Sent: Wednesday, June 27, 2001 12:39 PM Subject: [PHP-DEV] PHP Bug Type: Strings related ??? > > 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 > | > +=================================================================+ > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.dev (#58354) next »