|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6855 the urldecoding of ' doesn't work
Submitted: 2000-09-22 17:50 UTC Modified: 2000-09-26 07:01 UTC
From: frederi at sinfomic dot fr Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 3.0.16 OS: linux, openBSD
Private report: No CVE-ID: None
 [2000-09-22 17:50 UTC] frederi at sinfomic dot fr
echo urldecode(urlencode("'"));

displays \' instead of '

correcting this bug might trash several SQL based scripts which didn't protect their strings in their SQL querys.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-26 07:01 UTC]
I don't see this in current CVS of either PHP3 or PHP4.  Perhaps you have magic_quotes_runtime turned on?
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Jan 20 13:01:28 2021 UTC