diff options
author | Stefan Fritsch <sf@apache.org> | 2010-11-21 18:22:26 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2010-11-21 18:22:26 +0100 |
commit | 6ef1911acc7e848d88e3ff505cc2a018f41cd903 (patch) | |
tree | 1e7426949ebbbaabf473b1e173951a73435b3118 /modules/aaa/mod_authz_core.c | |
parent | Fix extra word (diff) | |
download | apache2-6ef1911acc7e848d88e3ff505cc2a018f41cd903.tar.xz apache2-6ef1911acc7e848d88e3ff505cc2a018f41cd903.zip |
ap_expr related fixes/enhancements:
- implement regex backreferences and make them available for setting
envvars in SetEnvIfExpr
- implement nested function calls in %-syntax: %{func1:%{func2:arg}}
- actually implement evaluation of concatenation operator (oops...)
- Fix <If ... > treating an internal error as success
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1037504 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa/mod_authz_core.c')
-rw-r--r-- | modules/aaa/mod_authz_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aaa/mod_authz_core.c b/modules/aaa/mod_authz_core.c index 2fb89c6b49..217f0b026a 100644 --- a/modules/aaa/mod_authz_core.c +++ b/modules/aaa/mod_authz_core.c @@ -992,7 +992,7 @@ static authz_status expr_check_authorization(request_rec *r, const ap_expr_info_t *expr = parsed_require_line; int rc = ap_expr_exec(r, expr, &err); - if (err || !rc) + if (rc <= 0) /* XXX: real error handling? */ return AUTHZ_DENIED; else |