You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/02/12 00:20:10 UTC

DO NOT REPLY [Bug 33530] New: - Truncated Content-Type string "Content-Type: ( with"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33530>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33530

           Summary: Truncated Content-Type string  "Content-Type: ( with"
           Product: Apache httpd-2.0
           Version: 2.0.52
          Platform: Macintosh
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: makoto@ki.nu


modules/metadata/mod_mime_magic.c has the following line.
   2016                 if (has_escapes)
   2017                     magic_rsl_puts(r, " (with escape sequences)");
   2018                 return 1;
But if this line is processed, the output will be
   Content-Encoding: (with 
Say, the string after embedded space is truncated.
If I put the hyphen(-) in place of spaces, say
   2017                     magic_rsl_puts(r, " (with-escape-sequences)");
server outputs entire string.
   Content-Encoding: (with-escape-sequences)

Some request_rec stored by following function may not be
processed correctly,
    542 static int magic_rsl_add(request_rec *r, char *str)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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