httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44995] Custom HTTP-Error codes get remapped to 500er codes
Date Tue, 27 May 2008 19:17:35 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44995





--- Comment #7 from Rainer Jung <rainer.jung@kippdata.de>  2008-05-27 12:17:35 PST ---
Created an attachment (id=22019)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22019)
Make httpd tolerate more status lines in combination with error pages

This patch changes the rules whether to include the status line in the error
page response in the following ways:

- Allow empty reason phrase, but add "Unknown Reason" in this case
- Allow status line of the form "NNN" but add mandatory trailing space and
"Unknown Reason"
- replace previous check if first 3 chars in status line are numeric with the
test for the correct status int used in http_filters.c

Both patches are not yet thoroughly tested. If the point into the right
direction, I'll test.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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