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 27352] - Wrong handling of IPs in decimal representation and/or numeric hostnames
Date Tue, 02 Mar 2004 17:22:33 GMT
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=27352>.
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=27352

Wrong handling of IPs in decimal representation and/or numeric hostnames





------- Additional Comments From ast@domdv.de  2004-03-02 17:22 -------
The ErrorDocument problem is located in server/protocol.c, line 972:

    if (r->status != HTTP_OK) {
        ap_send_error_response(r, 0);
        ap_run_log_transaction(r);
        return r;
    }

ap_send_error_response doesn't handle other custom error documents than
strings. Either ap_die() should be called (I don't know if this is possible
at this point) or it must be documented that:

ErrorDocument 400 "string"

is the only valid option for error type 400. There is already a restriction
for 401 type errors in the documentation so just documenting the 400
restriction would be ok.

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


Mime
View raw message