php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28981 dirname faild in UTF8 dirname
Submitted: 2004-07-01 08:02 UTC Modified: 2004-07-09 01:00 UTC
From: hunix at hunix dot idv dot tw Assigned:
Status: No Feedback Package: Directory function related
PHP Version: 5.0.0RC3 OS: Linux 2.4.26
Private report: No CVE-ID: None
 [2004-07-01 08:02 UTC] hunix at hunix dot idv dot tw
Description:
------------
When calling dirname with an UTF-8 dir-string, The dirname can NOT return non ASCII strings. For example, dirname("/x/y/z/UTF-8name/basename"); the return value would be "/x/y/z/name" not "/x/y/z/UTF-8name". The same code work on php-4.3.5, php-4.3.6, php-4.3.7 very well.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-01 09:27 UTC] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
 [2004-07-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC