Mailing List Archive

[Bug 63871] New: Header edit bypassed after multiple merge
https://bz.apache.org/bugzilla/show_bug.cgi?id=63871

Bug ID: 63871
Summary: Header edit bypassed after multiple merge
Product: Apache httpd-2
Version: 2.4.10
Hardware: HP
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_headers
Assignee: bugs@httpd.apache.org
Reporter: t3kk4m@gmail.com
Target Milestone: ---

Created attachment 36851
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36851&action=edit
Accurate example configuration snipped

> Environment
Binaries are installed on a CentOS 7 (rel. 1905 - x86_64) on a EC2 vm (official
hvm AMI) via stock yum repositories (no third party repos are configured,
except from MariaDB 10.2 repo for clients).

> Alerts
Service is apparently running without any issue. Logging is set in VirtualHost
context and includes INFO level.

> Configuration details
For your discretion, i must advice you that configuration is built through
extensive use of mod_macro from virtualhost context and above, but i'm quite
sure it's not involved. Indeed, misbehaving directives are all configured by
the same macro, which is called once for each VirtualHost (example snippet is
"macro expanded") and resulting configuration is triggered correctly.

> Unexpected Behavior
Despite several trials of "Header edit", pattern is never rewritten.
It looks like Header edit is not able to match commas (added by Header merge
directives). I suspect its input has been split upon separating commas by a
preceding parser or it's fed by an outdated or null header referral.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org