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=17497>.
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=17497

mod_mime_magic generates incorrect response header

           Summary: mod_mime_magic generates incorrect response header
           Product: Apache httpd-2.0
           Version: 2.0.44
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_mime_magic
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Apache-2.0.44 with mod_mime_magic generates incorrect responses for some files
in Japanese.
 The problem seems to happen when the requested file includes escape character
(Japanese files encoded in ISO-2022-JP always include it) and does not have any
extensions.

 The following procedure reproduces this problem:

 1. generate a file with escape character:
  % perl -e 'print "Nagoya, the 3rd largest city in Japan, is written as
\x1b\$BL>8E20\x1b(B in Japanese."' > file_with_escapes,
 2. copy it to somewhere accessible via Apache
 3. and request it through Apache with mod_mime_magic.


 When I tried the procedure above, I got

--- snip ----
HTTP/1.1 200 OK
Date: Apache/2.0.44 (Unix) DAV/2
Last-Modified: Sun, 16 Feb 2003 15:05:28 GMT
ETag: "92611-4e-319e00"
Accept-Ranges: bytes
Content-Length: 78
Connection: close
Content-Type: text/plain ; charset=ISO-8859-1
Content-Encoding: (with
--- snip ---

as HTTP response.  I think the value of Content-Encoding header is wrong.


Regards,
 ABE Hiroshi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to