You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/07/03 03:37:01 UTC
DO NOT REPLY [Bug 21297] New: -
isapi_redirector2.dll cannot parse wrapped HTTP headers
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=21297>.
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=21297
isapi_redirector2.dll cannot parse wrapped HTTP headers
Summary: isapi_redirector2.dll cannot parse wrapped HTTP headers
Product: Tomcat 4
Version: 4.1.24
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Blocker
Priority: Other
Component: Connector:Coyote JK 2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: PeterMayne@ap.spherion.com
If an HTTP request containing a header that is continued on more than one line
using leading whitespace is received by isapi_redirector2.dll via IIS, the
headers are parsed incorrectly. This has also been tested using HTTP/1.1 and on
Windows XP.
Sample JSP:
<html>
<body>
<pre>
<%
for(java.util.Enumeration names = request.getHeaderNames();
names.hasMoreElements();)
{
String name = (String)names.nextElement();
out.write("[" + name + "] = [" + request.getHeader(name) + "]");
out.write("\n");
}
%>
</pre>
</body>
</html>
Sample HHTP request:
GET /examples/bug.jsp HTTP/1.0
Host: localhost
SOAPAction: "ebXML"
Content-Type: multipart/related; type="text/xml"; start="<24480816.1056342917752>";
boundary=28258744.1056342917762
Message-ID: 3736219.105634291777
Connection: close
Sample correct output when sent direct to Tomcat:
[host] = [localhost]
[soapaction] = ["ebXML"]
[content-type] = [multipart/related; type="text/xml";
start="<24480816.1056342917752>"; boundary=28258744.1056342917762]
[message-id] = [3736219.105634291777]
[connection] = [close]
Sample incorrect output when sent to IIS/isapi_redirector2.dll:
[connection] = [close]
[host] = [localhost]
[content-type] = [multipart/related; type="text/xml";
start="<24480816.1056342917752>"; ]
[soapaction] = ["ebXML"]
[ boundary=28258744.1056342917762
message-id] = [3736219.105634291777]
[content-length] = [0]
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org