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: [email protected]
          Reporter: [email protected]

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to