Closed (won't fix)
Project:
ThemeKey
Version:
7.x-3.x-dev
Component:
Code / API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2012 at 15:07 UTC
Updated:
12 Jul 2013 at 08:11 UTC
system:http_header currently works case-sensitively.
RFC 2616 ("Hypertext Transfer Protocol -- HTTP/1.1"), section 4.2, defines header field names as case-insensitive.
ThemeKey should respect the RFC and treat header names (but not necessarily values) case-insensitively.
For example:
host=blubb.example should match
both request headers:
myheader: blubb.example
and
MyHeader: blubb.example
Comments
Comment #1
cspitzlayComment #2
mkalkbrennerComment #3
mkalkbrennerThat feature would cause some exceptions in the rule matching engine.
But it could already be achieved if you use the regex operator and the case insensitive modifier.