Project

General

Profile

Bug #1614

Content-Type header is inserted and not overwritten in mod_dirlisting

Added by HenrikHolst about 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_dirlisting
Target version:
Start date:
Due date:
% Done:

0%

Missing in 1.5.x:

Description

In the mod_dirlisting module the Content-Type header is inserted and not overwritten, this can lead to a situation where we have more than one Content-Type header (at least that happened for us) and for some reason Internet Explorer 7 (possible v6 also) only reads the first one (stupid browser indeed).

The included patch changes this to an overwrite instead so we can make sure that there will only by one Content-Type header in the response.

mod_dirlisting.c.patch View (861 Bytes) HenrikHolst, 2008-03-27 10:05

Associated revisions

Revision 4bf89c62 (diff)
Added by stbuehler about 8 years ago

Overwrite Content-Type header in mod_dirlisting instead of inserting (#1614), patch by Henrik Holst

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2152 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by stbuehler about 8 years ago

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

Applied in r2152. Thank you!

Also available in: Atom