php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2293 Automatically add slashes in form variable not same as PHP3
Submitted: 1999-09-14 10:29 UTC Modified: 1999-09-15 05:33 UTC
From: tcs at cyber dot cs dot ntou dot edu dot tw Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 2 OS: FreeBSD 3.2 & SunOS 5.5
Private report: No CVE-ID: None
 [1999-09-14 10:29 UTC] tcs at cyber dot cs dot ntou dot edu dot tw
in PHP3
FILE:test.php3
<?
      print $test;
?>

use following link
http://compaq.ind.ntou.edu.tw/~tcs/test.php3?test='test'
It showed 'test'
But in PHP4
It showed \'test\'

this is not same as PHP3

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-15 05:33 UTC] riffraff at cvs dot php dot net
are you sure, you have the same value in magic_quotes configuration variable in php.ini?
if this is not the problem, please resubmit
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 21:01:30 2024 UTC