You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by nancy lin <nl...@library.berkeley.edu> on 2000/06/28 00:17:14 UTC

general/6247: escape character 3 (%3) returns 400 error. Similiar to PR 5998,

>Number:         6247
>Category:       general
>Synopsis:       escape character 3 (%3) returns 400 error.  Similiar to PR 5998,
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Jun 27 15:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     nlin@library.berkeley.edu
>Release:        1.3.9
>Organization:
apache
>Environment:
Linux 2.2.5-22 #1 Wed Jun 2 09:17:03 EDT 1999 i686 
and linux 2.2.16-3
>Description:
We're running a apache w/ mod_proxy.  The httpd.conf file has the following:

ProxyRequests On
<Directory proxy:*>
order deny,allow
allow from all
AuthName "blah"
AuthType Basic
PerlAuthenHandler Apache::AuthenSession
require valid-user
</Directory>

Everything's works fine till we try to proxy a web catalogue system which generates
%3 in their URL.  This causes the server to generate a 400 Bad Request error.

This seems to happen w/ apache servers (tried it with 1.3.9)
For example:
> telnet www.apache.org 80
GET /%3 HTTP/1.0
HTTP/1.1 400 Bad Request
Date: Tue, 27 Jun 2000 22:08:49 GMT
Server: Apache/1.3.9 (Unix) ApacheJServ/1.1 PHP/3.0.12 AuthMySQL/2.20
Connection: close
Content-Type: text/html


With Netscape Enterprise:
> telnet  www.ucpress.edu 80
Connected to www.ucpress.edu.
Escape character is '^]'.
GET /%3 HTTP/1.0

HTTP/1.1 404 Not found
Server: Netscape-Enterprise/3.6 SP2
Date: Tue, 27 Jun 2000 22:06:52 GMT
Content-type: text/html
Content-length: 207
Connection: close

>How-To-Repeat:
Do a 
GET /%3 HTTP/1.0

on site running apache and compare it w/ sites running other servers.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]