Opened 13 years ago
Closed 10 years ago
#9 closed enhancement (wontfix)
autoindex_max_name_len directive
Reported by: | shipilev.livejournal.com | Owned by: | somebody |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | nginx-module | Version: | 1.1.x |
Keywords: | autoindex | Cc: | |
uname -a: | Linux persephone 2.6.32-33-generic-pae #72-Ubuntu SMP Fri Jul 29 22:06:29 UTC 2011 i686 GNU/Linux | ||
nginx -V: |
nginx: nginx version: nginx/1.1.1
nginx: built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5) nginx: configure arguments: |
Description
Current nginx autoindex module has hardcoded NGX_HTTP_AUTOINDEX_NAME_LEN constant. It makes sense to let user control it: nowadays, 50 characters are not enough to represent full file names. Moreover, I suspect UTF-8 names are getting twice lower limit of 25 characters.
Attachments (2)
Change History (6)
by , 13 years ago
Attachment: | ng-autoindex-namelen-1.patch added |
---|
comment:1 by , 13 years ago
Any updates? Any problems with the proposal? Any problems with the patch?
comment:2 by , 11 years ago
Original patch was for nginx 1.1.1, this is the same patch just for a recent version: 1.6.0
This is a feature I was looking for and it would be great if it was added.
Thanks!
comment:4 by , 10 years ago
Resolution: | → wontfix |
---|---|
sensitive: | → 0 |
Status: | new → closed |
There are no plans to enhance HTML representation of autoindex. Instead now you can use XML or JSON(P) output formats where no such limitation exists (see 33c08d7e2915 and 99751fe3bc3b).
And using the XSLT module you can transform the XML into HTML the way you like more.
proposed patch