|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10327 "urldecode" decodes url-encoded cyrillic strings incorrectly.
Submitted: 2001-04-14 13:52 UTC Modified: 2001-07-31 11:27 UTC
From: nikamir at zmail dot ru Assigned:
Status: Not a bug Package: *URL Functions
PHP Version: 4.0.3pl1 OS: FreeBSD 4.1-RELEASE
Private report: No CVE-ID: None
 [2001-04-14 13:52 UTC] nikamir at zmail dot ru
     //Write encoding
     echo "Src: ".urlencode("?????? ??????? ????????")."<br>\n";
     //Wrong decoding
     echo "Src-Dst: ".urldecode(urlencode("?????? ??????? ????????"))."<br>\n";
     //Write encoding of wrong decoding. See the difference!!!
     echo "Src-Dst-Src: ".urlencode(urldecode(urlencode("?????? ??????? ????????")))."<br>\n";

'./configure' '--without-x' '--enable-track-vars' '--with-apache=../apache_1.3.14rusPL30.0' '--with-mod_charset' '--with-gd' '--enable-ftp' '--with-mysql=/usr/local' '--with-pcre-regex'

Here you can see dump of phpinfo() function in our


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-14 14:00 UTC] nikamir at zmail dot ru
dump of phpinfo() function is here:
 [2001-07-31 11:27 UTC]
works fine for me.

Please upgrade and re-open if still exists.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Feb 21 01:01:28 2024 UTC