>Number:         2394
>Category:       general
>Synopsis:       Content-Type header info converted to lowercase
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Jun  9 12:40:03 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.0
>Environment:
Linux vip 2.0.34 #2 Thu Jun 4 12:52:25 PDT 1998 i686

gcc version 2.7.2.1

Server version: Apache/1.3.0 (Unix)
Server built:   Jun  9 1998 10:16:46

>Description:
When delivering the Content-Type header from a script, Apache is converting the 
text after
after the : to lowercase. This happened in my server push script, where the 
header
was supposed to be:

Content-Type: multipart/x-mixed-replace;boundary=ThisRandomString

When I upgraded from 1.2.5 to 1.3.0, the script broke. By telneting to the http 
port on my machine, 
I was able to see the headers returned by the script through apache. When run 
on the command line, the headers
came out as expected. When run through the webserver, I got the folowing:

Content-Type: multipart/x-mixed-replace;boundary=thisrandomstring

This caused the server push to not be understood by Netscape, since the header 
said the
boundary text was thisrandomstring, but the actual boundary text was 
ThisRandomString.

Of course the simple solution was to change the string I used. But this seems 
to me like
a bug. The case should be maintained.
>How-To-Repeat:
I can send you the program if you like.
>Fix:
Don't change case when outputting headers.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to