PHP 4.0 Bug #10327 Updated: "urldecode" decodes url-encoded cyrillic strings incorrectly.
| From: | nikamir at zmail dot ru | Date: | Sat, 14 Apr 2001 18:00:22 +0000 |
| Subject: | PHP 4.0 Bug #10327 Updated: "urldecode" decodes url-encoded cyrillic strings incorrectly. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51583@lists.php.net to get a copy of this message | ||
ID: 10327
User Update by: nikamir@zmail.ru
Status: Open
Bug Type: *URL Functions
Description: "urldecode" decodes url-encoded cyrillic strings incorrectly.
Sorry!
dump of phpinfo() function is here:
http://www.77rus.ru/a.php
Previous Comments:
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10327