httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1787229 - /httpd/httpd/trunk/server/core.c
Date Thu, 16 Mar 2017 18:41:59 GMT
Author: covener
Date: Thu Mar 16 18:41:59 2017
New Revision: 1787229

URL: http://svn.apache.org/viewvc?rev=1787229&view=rev
Log:
print r->uri during failure

in a subrequest, r->the_request will be the one from r->main,
and it's not what we're checking above.


Modified:
    httpd/httpd/trunk/server/core.c

Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=1787229&r1=1787228&r2=1787229&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Thu Mar 16 18:41:59 2017
@@ -4742,7 +4742,7 @@ AP_DECLARE_NONSTD(int) ap_core_translate
     }
     if (!r->uri || ((r->uri[0] != '/') && strcmp(r->uri, "*"))) {
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(00126)
-                     "Invalid URI in request %s", r->the_request);
+                     "Invalid URI in request '%s' '%s'", r->uri, r->the_request);
         return HTTP_BAD_REQUEST;
     }
 



Mime
View raw message