Bug 63772 - Directive Require, ReqireAll don't work with tabular indentation
Summary: Directive Require, ReqireAll don't work with tabular indentation
Status: NEEDINFO
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_authz_core (show other bugs)
Version: 2.4.25
Hardware: PC Linux
: P2 minor (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-25 08:17 UTC by drescher
Modified: 2019-09-25 23:45 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description drescher 2019-09-25 08:17:38 UTC
When formatting a Require and/or ReqireAll section with tabulator, patterns never match.
_Example_
 <Location /my/location>
     <RequireAll>
      Require expr %{MyVariable} in { \
        'MyPattern', \
        'NextPattern' \
        [....]
      }
      Require expr %{NextVariable} in { \ 
        'SomeMorePattern', \
        [...]
      }
    </RequireAll>
  </Location>

When the above section is fomatted with [[:space:]], all works fine. When done with [[:tabulator:]], it does not.
Comment 1 Christophe JAILLET 2019-09-25 23:45:04 UTC
I'm not able to reproduce your issue.

Could you provide 2 minimal configuration files, one working and one not working as expected?