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/05/19 21:53:46 UTC

DO NOT REPLY [Bug 34975] New: - 'folded' Content-Type header dropped all but the last parameter

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

           Summary: 'folded' Content-Type header dropped all but the last
                    parameter
           Product: Apache httpd-2.0
           Version: 2.0.54
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ianh@hubspan.com
                CC: ianh@hubspan.com


Env: Win2K Server, Apache 2.0.52 up to 2.0.54

We are running apache + mod_proxy + mod_rewrite as a reverse proxy for a 
backend J2EE server.  We've observed that if the J2EE server returns a 'folded' 
Content-Type header with the following value:

Content-Type: multipart/signed;
[\t]micalg=sha1; 
[\t]protocol="application/pkcs7-signature"; 
[\t]boundary="Part_10_15429741.1116261846632"

Apache will drop the parameter protocol and micalg and return this Content-Type 
to the client

Content-Type: multipart/signed; 
[\r\n\t]boundary="Part_10_15429741.1116261846632"  

However, if the content-type header is not folded the content-type is returned 
unchanged

It looks like when a content-type (only content-type header, other headers are 
not affected) is folded, only the last parameter is picked up and returned to 
the client.

In addition, this seesm to ONLY affect Content-Type header.  We've tested with 
other non HTTP defined headers (ie. custom header) and do not seem to be able 
to repro the problem.

This is confirmed on both 2.0.52 -> 2.0.54.

-- 
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