Bug #10327 Updated: "urldecode" decodes url-encoded cyrillic strings incorrectly.
| From: | andy@php.net | Date: | Tue, 31 Jul 2001 15:27:09 +0000 |
| Subject: | Bug #10327 Updated: "urldecode" decodes url-encoded cyrillic strings incorrectly. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61654@lists.php.net to get a copy of this message | ||
ID: 10327
Updated by: andy
Reported By: nikamir@zmail.ru
Old Status: Open
Status: Bogus
Bug Type: *URL Functions
Operating System: FreeBSD 4.1-RELEASE
PHP Version: 4.0.3pl1
New Comment:
works fine for me.
Please upgrade and re-open if still exists.
Previous Comments:
------------------------------------------------------------------------
[2001-04-14 14:00:21] nikamir@zmail.ru
Sorry!
dump of phpinfo() function is here:
http://www.77rus.ru/a.php
------------------------------------------------------------------------
[2001-04-14 13:52:23] nikamir@zmail.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
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=10327&edit=1