php.net |  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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-26 07:01 UTC] rasmus@php.net
I don't see this in current CVS of either PHP3 or PHP4.  Perhaps you have magic_quotes_runtime turned on?
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Jan 18 05:01:22 2020 UTC