Bug 13599 - autoindex formating broken for multibyte sequences.
Summary: autoindex formating broken for multibyte sequences.
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_autoindex (show other bugs)
Version: 2.0.42
Hardware: PC All
: P3 normal with 1 vote (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL: http://httpd.apache.org/docs-2.0/mod/...
Keywords: MassUpdate
: 9161 22147 22346 30486 (view as bug list)
Depends on:
Reported: 2002-10-14 13:15 UTC by Dmitry Kuzkin (aka Bio)
Modified: 2018-11-07 21:08 UTC (History)
5 users (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Kuzkin (aka Bio) 2002-10-14 13:15:25 UTC
apache 2.0 not correctly calculates space between links and date in nonHTML dir. listing if filenames contains non-english characters. And listing looks awful. 
(it encoded filenames in utf-8 : 3 symbols instead of 1)

apache 1.3.27 works correctly.
Comment 1 William A. Rowe Jr. 2002-10-14 15:11:53 UTC
  Of course multibyte filenames aren't compatible with fixed width
  encodings.  The fixed format is suboptimal for (FancyIndexes aren't 
  compatible either with RTL encodings either.

  However, if we stop the format within a multibyte sequence, the
  current code is effectively broken, so I'm accepting the report.
  The same is true on Unix if filenames are stored in utf8, ja-jis,
  and other multibyte encodings.

  Strongly encourage you to change your IndexOptions to HTMLTable
  in any case for the reasons I cited above.

Comment 2 Joshua Slive 2002-10-17 02:05:06 UTC
*** Bug 9161 has been marked as a duplicate of this bug. ***
Comment 3 André Malo 2003-08-05 20:41:52 UTC
*** Bug 22147 has been marked as a duplicate of this bug. ***
Comment 4 Joshua Slive 2004-08-05 14:48:07 UTC
*** Bug 30486 has been marked as a duplicate of this bug. ***
Comment 5 Paul Querna 2004-08-30 11:25:01 UTC
*** Bug 22346 has been marked as a duplicate of this bug. ***
Comment 6 Dan Poirier 2009-05-21 08:01:44 UTC
Since no one seems inclined to try to fix this for non-HTML directory listings,
and using HTML table listings ought to be an acceptable workaround, can we
close this bug?
Comment 7 Julian Mehnle 2009-05-21 08:06:28 UTC
Obviously this issue has caused various sightings and duplicate reports, so just closing the bug report would probably not do any good.  Fixing it should be trivial for someone who knows something about Apache's internal character encoding API.

Just my two cents.
Comment 8 William A. Rowe Jr. 2018-11-07 21:08:37 UTC
Please help us to refine our list of open and current defects; this is a mass update of old and inactive Bugzilla reports which reflect user error, already resolved defects, and still-existing defects in httpd.

As repeatedly announced, the Apache HTTP Server Project has discontinued all development and patch review of the 2.2.x series of releases. The final release 2.2.34 was published in July 2017, and no further evaluation of bug reports or security risks will be considered or published for 2.2.x releases. All reports older than 2.4.x have been updated to status RESOLVED/LATER; no further action is expected unless the report still applies to a current version of httpd.

If your report represented a question or confusion about how to use an httpd feature, an unexpected server behavior, problems building or installing httpd, or working with an external component (a third party module, browser etc.) we ask you to start by bringing your question to the User Support and Discussion mailing list, see [https://httpd.apache.org/lists.html#http-users] for details. Include a link to this Bugzilla report for completeness with your question.

If your report was clearly a defect in httpd or a feature request, we ask that you retest using a modern httpd release (2.4.33 or later) released in the past year. If it can be reproduced, please reopen this bug and change the Version field above to the httpd version you have reconfirmed with.

Your help in identifying defects or enhancements still applicable to the current httpd server software release is greatly appreciated.