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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: frederi at sinfomic dot fr
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 22:01:36 2025 UTC