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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC