Project

General

Profile

Actions

Feature #136

closed

Make dirlisting encoding configurable

Added by Anonymous about 17 years ago. Updated almost 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

Some of us have file systems with file names encoded in UTF-8 or other funky character sets, however the dir-listing code in lighttpd is hardwired to send an encoding of "iso-8859-1".

It'd be nice to make this configurable.

My patch to do so: http://www.perlfu.co.uk/code/lighttpd/lighttpd-1.3.13-dir-listing.encoding.diff

The patch add a "dir-listing.encoding" setting, which is just a plain string substituted into the header. Headers default to "iso-8859-1" when "dir-listing.encoding" is not set.

-- critson


Files

lighttpd-1.3.13-dir-listing.encoding.diff (3.84 KB) lighttpd-1.3.13-dir-listing.encoding.diff http://www.perlfu.co.uk/code/lighttpd/lighttpd-1.3.13-dir-listing.encoding.diff -- critson Anonymous, 2005-05-22 09:45
Actions #1

Updated by jan about 17 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed for 1.3.x in r399, added to 1.4.x for later commit

Actions #2

Updated by jan over 16 years ago

  • Status changed from Need Feedback to Fixed
  • Resolution set to fixed

fixed in changeset r978

Actions

Also available in: Atom