You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2016/05/22 12:03:21 UTC

svn commit: r1745034 - /httpd/httpd/trunk/modules/aaa/mod_authz_host.c

Author: covener
Date: Sun May 22 12:03:21 2016
New Revision: 1745034

URL: http://svn.apache.org/viewvc?rev=1745034&view=rev
Log:
PR59612: Print the ap_expr() error message when an expression cannot
be evaluated in forward-dns provider.

Submitted By: Tianyin Xu <tixu cs.ucsd.edu>
Committed By: covener


Modified:
    httpd/httpd/trunk/modules/aaa/mod_authz_host.c

Modified: httpd/httpd/trunk/modules/aaa/mod_authz_host.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_authz_host.c?rev=1745034&r1=1745033&r2=1745034&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authz_host.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authz_host.c Sun May 22 12:03:21 2016
@@ -230,6 +230,7 @@ forward_dns_check_authorization(request_
     require = ap_expr_str_exec(r, expr, &err);
     if (err) {
       ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(03354)
+                    "authz_host authorize: require forward-dns: "
                     "Can't evaluate require expression: %s", err);
       return AUTHZ_DENIED;
     }