You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/06/30 05:12:17 UTC

DO NOT REPLY [Bug 10354] New: - ErrorDocument(.htaccess) fails when passed URL with a %00

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10354>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10354

ErrorDocument(.htaccess) fails when passed URL with a %00 

           Summary: ErrorDocument(.htaccess) fails when passed URL with a
                    %00
           Product: Apache httpd-1.3
           Version: 1.3.23
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: dan@cain.sh


I don't think this involves the problem I am having with ErrorDocument, but the 
server uses VirtualDocumentRoot to serve multiple sites.

When entering URL of <domain>/I_dont_exist I receive my custom document output, 
as expected.  This is with ErrorDocument either in httpd.conf xor .htaccess, 
with a 'apachectl graceful' when added/removed from httpd.conf.

Entering a URL of <domain>/I_dont_e%00xist I receive the default error 
document 'The requested URL /i_dont_e was not found on this server.'.  This is 
with ErrorDocument defined in .htaccess.

Entering the URL <domain>/I_dont_e%00xist, and having ErrorDocument defined in 
httpd.conf results in my custom error document content being served.

Entering <domain>/I_dont_e%01xist works fine with ErrorDocument defined 
in .htaccess or httpd.conf.

Entering <domain>/I_dont_exist?%00_more_info works with ErrorDocument defined 
in .htaccess or httpd.conf.

Server running on FreeBSD 4.5-STABLE.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org