Summary: | Truncated Content-Type string "Content-Type: ( with" | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Makoto Fujiwara <makoto> |
Component: | mod_mime_magic | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.0.52 | ||
Target Milestone: | --- | ||
Hardware: | Macintosh | ||
OS: | NetBSD |
Description
Makoto Fujiwara
2005-02-12 00:20:10 UTC
Reading following documentation tells me the value may not include 'white space'. So the fix should be on the file modules/metadata/mod_mime_magic.c, right ? 14.17 Content-Type http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html 3.7 Media Types http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 Linear white space (LWS) MUST NOT be used between the type and subtype, nor between an attribute and its value. It's clearly wrong to generate a Content-Encoding like that. What do you propose, to fix this? Just remove that magic_rsl_puts call completely? Do you have a file on which this path triggers? |