[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-bugs
Subject: [Bug 57641] New: mod_substitute: Invalid merge order
From: bugzilla () apache ! org
Date: 2015-02-27 12:55:09
Message-ID: bug-57641-7868 () https ! bz ! apache ! org/bugzilla/
[Download RAW message or body]
https://bz.apache.org/bugzilla/show_bug.cgi?id=57641
Bug ID: 57641
Summary: mod_substitute: Invalid merge order
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: mod_substitute
Assignee: bugs@httpd.apache.org
Reporter: marc.stern@approach.be
httpd - and all modules - use the same order to merge the options and execute
the related actions:
- global scope
- vhost scope
- location scope (in sequential order)
mod_substitute execute the actions the other way around:
- location scope (in sequential order)
- vhost scope
- global scope
This is incompatible with the logic used by the whole project.
Details of the code:
in merge_substitute_dcfg(), we have
a->patterns = apr_array_append(p, over->patterns, base->patterns);
This should be
a->patterns = apr_array_append(p, base->patterns, over->patterns);
The problem lies in all versions
--
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic