• Jim Jagielski's avatar
    Merge r1792589 from trunk: · 0e4494a2
    Jim Jagielski authored
    Evaluate nested If/ElseIf/Else config sections
    
    It has been reported multiple times that nested
    If/ElseIf/Else sections are not evaluated but
    silently ignored.
    
    This patch adds a simple recursion to the ap_if_walk
    logic in order to allow arbitrary nested configs.
    The overhead seems negligible compared to the actual
    version of the ap_if_walk, but more expert feedback
    is surely needed since this code gets called for every
    HTTP request.
    
    Tests are going to be added to t/apache/if_sections.t
    
    
    Submitted by: elukey
    Reviewed by: elukey, jim, yalvic
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1795906 13f79535-47bb-0310-9956-ffa450edef68
    0e4494a2
To find the state of this project's repository at the time of any of these versions, check out the tags.