php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nikamir at zmail dot ru
New email:
PHP Version: OS:

 

 [2001-04-14 13:52 UTC] nikamir at zmail dot ru
<?php
     //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
system.
http://www.77rus.ru/manager/questions/a.php


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-14 14:00 UTC] nikamir at zmail dot ru
Sorry!
dump of phpinfo() function is here:
http://www.77rus.ru/a.php
 [2001-07-31 11:27 UTC] andy@php.net
works fine for me.

Please upgrade and re-open if still exists.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Aug 04 14:01:24 2021 UTC