httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57167] New: ErrorDocument has no effect for some error codes
Date Thu, 30 Oct 2014 15:51:41 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=57167

            Bug ID: 57167
           Summary: ErrorDocument has no effect for some error codes
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: Chaosed0@gmail.com

Created attachment 32168
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32168&action=edit
Add support for ErrorDocument with some error codes

If I specify, e.g.:

ErrorDocument 414 /error.html

and request some absurdly long URI, I get the canned error response page. I
couldn't find any reason in the code why we can't support ErrorDocument for
some of these error codes.

The patch attached has some smell to it, but it's the easiest way to get it
working for the 414 code. Anything more reasonable seems like it would need a
refactor of read_request_line().

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message