Commit 1542a894 authored by Eric Covener's avatar Eric Covener
Browse files

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.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1787229 13f79535-47bb-0310-9956-ffa450edef68
parent 264587a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4742,7 +4742,7 @@ AP_DECLARE_NONSTD(int) ap_core_translate(request_rec *r)
    }
    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;
    }