[jboss-remoting-commits] JBoss Remoting SVN: r6410 - remoting2/branches/2.2/src/main/org/jboss/remoting/transport/web.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Tue Nov 22 12:54:21 EST 2011
Author: ron.sigal at jboss.com
Date: 2011-11-22 12:54:20 -0500 (Tue, 22 Nov 2011)
New Revision: 6410
Modified:
remoting2/branches/2.2/src/main/org/jboss/remoting/transport/web/WebUtil.java
Log:
JBREM-1301: Tests for prefix of content-type instead of equality.
Modified: remoting2/branches/2.2/src/main/org/jboss/remoting/transport/web/WebUtil.java
===================================================================
--- remoting2/branches/2.2/src/main/org/jboss/remoting/transport/web/WebUtil.java 2011-11-22 17:42:22 UTC (rev 6409)
+++ remoting2/branches/2.2/src/main/org/jboss/remoting/transport/web/WebUtil.java 2011-11-22 17:54:20 UTC (rev 6410)
@@ -36,7 +36,7 @@
public static boolean isBinary(String requestContentType)
{
- if(BINARY.equalsIgnoreCase(requestContentType))
+ if (requestContentType != null && requestContentType.toLowerCase().startsWith(BINARY))
{
return true;
}
More information about the jboss-remoting-commits
mailing list