httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <>
Subject [PATCH] EBCDIC conversion - .gif error 404
Date Wed, 03 Nov 1999 19:49:56 GMT
This patch corrects a bug in my last patch for Apache 1.3.10 EBCDIC
conversion.  I was calling ap_checkconv() too early in the
default_handler.  That call decides whether conversion is necessary
based on content_type.  The problem is that if a request fails for a
file type that doesn't need conversion (i.e. a non-existant .gif or .jpg
is requested), the error paths can switch the content_type to something
that does need conversion, like text/html, but the EBCDIC conversion
flag isn't changed.  This results in the server sending an error message
coded in EBCDIC, which is rather hard to read on an ASCII browser.

Greg Ames  -

View raw message