mirror of
https://github.com/apache/httpd.git
synced 2025-08-13 13:39:44 +00:00
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
This commit is contained in:
@ -99,7 +99,7 @@ AP_DECLARE(ap_parse_node_t*) ap_expr_parse(apr_pool_t *pool, const char *expr,
|
||||
* @param eval_func Option evaluation function (e.g. -A filename)
|
||||
* @return the value the expression parsed to
|
||||
*/
|
||||
AP_DECLARE(int) ap_expr_eval(request_rec *r, ap_parse_node_t *root,
|
||||
AP_DECLARE(int) ap_expr_eval(request_rec *r, const ap_parse_node_t *root,
|
||||
int *was_error, backref_t **reptr,
|
||||
string_func_t string_func, opt_func_t eval_func);
|
||||
/**
|
||||
|
Reference in New Issue
Block a user