Welcome! Log In Create A New Profile

Advanced

Re: bug in autoindex module

Maxim Dounin
December 31, 2009 11:10AM
Hello!

On Thu, Dec 31, 2009 at 09:51:31AM -0500, Ross wrote:

> On Thu, Dec 31, 2009 at 9:16 AM, Maxim Dounin <mdounin@mdounin.ru> wrote:
> > Hello!
> >
> > On Thu, Dec 31, 2009 at 02:05:04AM +0300, Maxim Dounin wrote:
> >
> >> On Wed, Dec 30, 2009 at 01:16:42PM -0500, Ross wrote:
> >
> > [...]
> >
> >> > I wonder if this is related to a bug in which the autoindex module
> >> > occasionally truncates non-ASCII filenames.
> >> >
> >> > Examples of the bug can be found at http://thegodlikehobo.org/tmp/
> >> > Each file contains its own name. The 4th (Списки), 7th (テスト), and 8th
> >> > (フロリダ) files from the top have had their name truncated, but the link
> >> > is correct.
> >>
> >> No, it's unrelated problem. I'm able to reproduce it here, I'll
> >> take a look.
> >
> > Patch.
>
> Thank you, the patch works great with 0.7.64!
>
> However, now I notice a different issue with the autoindex. At the
> same location (http://thegodlikehobo.org/tmp/) the date and size
> columns of the English and Russian filenames are aligned, but the
> Japanese ones seem to be random. I see the misalignment in Firefox,
> Chrome, and Opera.

nginx uses fixed-width font in autoindex, and this is
fullwidth/halfwidth problem I'm not really want to dig into. And,
given the fact that different browsers misalign the above page
differently, it won't help anyway.

I believe instead autoindex should be reworked to be able to
produce XML and hence allow any layout via XSLT. This will
resolve the above issue by providing means to use layouts with
proportional fonts.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

bug in autoindex module

edogawaconan December 29, 2009 05:26AM

Re: bug in autoindex module

edogawaconan December 30, 2009 12:50PM

Re: bug in autoindex module

Maxim Dounin December 30, 2009 06:00PM

Re: bug in autoindex module

Maxim Dounin December 31, 2009 09:20AM

Re: bug in autoindex module

Ross December 30, 2009 01:22PM

Re: bug in autoindex module

Maxim Dounin December 30, 2009 06:10PM

Re: bug in autoindex module

Maxim Dounin December 31, 2009 09:22AM

Re: bug in autoindex module

Ross December 31, 2009 09:56AM

Re: bug in autoindex module

Maxim Dounin December 31, 2009 11:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 170
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready