6ed93282a7
Add "IN" operator to expression parser, to evaluate membership of
...
a list of tokens. Couldn't resist after sf's comment on r1002363!
This means expressions like
<If %{REQUEST_METHOD} IN GET,HEAD,OPTIONS,...>
will work as a drop-in substitute for <Limit>
Also fix off-by-one bug in variable evaluation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002415 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 23:26:44 +00:00
a10a4e4f2f
This is just too easy to not do it: Add an 'expr' authz provider that allows
...
arbitrary expressions in Require lines.
The main issue I wanted to fix was that the env provider only allows to
check for the existance of an envvar but not the contents.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002363 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 21:33:44 +00:00
9cd5afd692
Fix mod_include potential segfault checking backref from unmatched regexp
...
http://markmail.org/message/jlc7t5edsjujbe37
Patch by rpluem, lars, niq
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@795445 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 23:12:58 +00:00
cb4a8ab247
Declare the callback function NONSTD
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664173 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 22:40:15 +00:00
500c9cb211
Remove ap_expr_clone from the API (same day it was added:-)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@643175 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 22:10:36 +00:00
41df671a88
Flesh out ap_expr with:
...
* Re-usable parse trees
* Canonical string parser function (candidate)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@642971 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 12:16:58 +00:00
4ac9672dde
* Add some doxygen stub / stuff
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@642631 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 22:33:51 +00:00
a792c6a396
* Prevent multiple "execution" of ap_expr.h contents when included multiple
...
times and allow it to be included by C++ files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@642630 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 22:29:39 +00:00
dd2aa04626
* For AP_MAX_REG_MATCH we need to ensure that httpd.h is there, otherwise we
...
fail to compile exports.c
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@642629 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 22:25:07 +00:00
6df04a66fa
Thou shalt not let tabs creep in.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@642596 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 19:56:55 +00:00
8f6e6a9726
Introduce ap_expr expression parser API
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@642558 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 17:13:28 +00:00