You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@attglobal.net> on 2002/10/25 18:37:11 UTC

Re: cvs commit: httpd-2.0/server request.c

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...

Re: cvs commit: httpd-2.0/server request.c

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Jeff Trawick wrote:
> 
> I'm very surprised that the first % in your format string
> doesn't need to be escaped.

right.  the missing comma was due to a stray keystroke exiting
the editor.  the missing '%'.. i'm not sure how that happened.
fixed, anyway.
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"Millennium hand and shrimp!"