httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: cvs commit: httpd-2.0/server request.c
Date Fri, 25 Oct 2002 16:37:11 GMT
coar@apache.org writes:

>   Index: request.c
>   ===================================================================
>   RCS file: /home/cvs/httpd-2.0/server/request.c,v
>   retrieving revision 1.115
>   retrieving revision 1.116
>   diff -u -u -r1.115 -r1.116
>   --- request.c	5 Sep 2002 06:59:14 -0000	1.115
>   +++ request.c	25 Oct 2002 16:27:38 -0000	1.116
>   @@ -149,6 +149,12 @@
>        if (!r->proxyreq && r->parsed_uri.path) {
>            access_status = ap_unescape_url(r->parsed_uri.path);
>            if (access_status) {
>   +            if (access_status == HTTP_NOT_FOUND) {
>   +                ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r,
>   +                              "found %2f (encoded '/') in URI "
>   +                              "(decoded='%s'), returning 404"
>   +                              r->parsed_uri.path);
>   +            }

I'm very surprised that the first % in your format string doesn't
need to be escaped.

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message