Bug #15824 Updated: magic_quotes_sybase and addslashes/stripslashes
| From: | jlp at ccil dot org | Date: | Tue, 18 Jun 2002 17:52:19 +0000 |
| Subject: | Bug #15824 Updated: magic_quotes_sybase and addslashes/stripslashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11165@lists.php.net to get a copy of this message | ||
ID: 15824
Updated by: jlp@ccil.org
Reported By: jlp@ccil.org
Status: Closed
Bug Type: Strings related
Operating System: linux
PHP Version: 4.1.2
New Comment:
I'm not convinced that the fix should be on the strip side instead of
the add side, but it's a definite goodness to have the functions be
inverses of each other.
Previous Comments:
------------------------------------------------------------------------
[2002-06-18 07:53:09] sander@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2002-06-07 18:30:28] jlp@ccil.org
nope. code has changed slightly, but logic is still the same.
------------------------------------------------------------------------
[2002-06-06 06:09:29] sander@php.net
I think this is fixed in CVS. If that's not the case, reopen this
report.
------------------------------------------------------------------------
[2002-03-01 17:56:27] jlp@ccil.org
with magic_quotes_sybase enabled, addslashes will replace single quotes
with double single quotes and NUL's
with \NUL's. stripslashes will change the doubled single quotes back
to single quotes, but the
backslash-escaped NUL's will remain escaped.
see http://marc.theaimsgroup.com/?l=php-dev&m=100257404931832&w=2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15824&edit=1