From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.1-RELEASE
PHP version: 4.0.3pl1
PHP Bug Type: *URL Functions
Bug description: "urldecode" decodes url-encoded cyrillic strings incorrectly.
<?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 Bug report at: http://bugs.php.net/?id=10327&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]