Project

General

Profile

Bug #2645

lighttpd doesn't support case-insensitive for content-coding values ??

Added by pradeep.labheswar about 2 years ago. Updated over 1 year ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2015-05-11
Due date:
2015-05-12
% Done:

100%

Estimated time:
Missing in 1.5.x:

Description

Hi,

I got a case where my Client is sending a request with 2 cases:
1. accept-encoding: GZIP
2. accept-encoding: gzip

Results:

In the First case the its not compressing the body.
In the Second case its compressing the body.

Does lighttpd support case-insensitive for content-coding values in Accept-Encoding Header?
If so is there any config needs to be set.

I checked in the source code and found in mod_compress/deflate its as like below:

m = strstr(headervalue, encoding) here headervalue is from the packet and encoding = "gzip"

Please let me know on this. Its a bit Urgent

Associated revisions

Revision 3086 (diff)
Added by stbuehler over 1 year ago

[mod_compress] case-insensitive content-codings (fixes #2645)

From: Glenn Strauss <>

Revision 75e4859a (diff)
Added by gstrauss over 1 year ago

[mod_compress] case-insensitive content-codings (fixes #2645)

From: Glenn Strauss <>

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

History

#1 Updated by pradeep.labheswar about 2 years ago

Any Update on this?

#2 Updated by pradeep.labheswar about 2 years ago

  • Assignee set to darix

#3 Updated by Olaf-van-der-Spek about 2 years ago

Why don't you fix the client?

#4 Updated by stbuehler almost 2 years ago

  • Assignee deleted (darix)
  • Priority changed from Immediate to Normal

#6 Updated by stbuehler over 1 year ago

  • Target version changed from 1.4.x to 1.4.40

#7 Updated by stbuehler over 1 year ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r3086.

Also available in: Atom