You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by jg...@apache.org on 2008/05/28 00:53:59 UTC

svn commit: r660754 - /cxf/branches/2.0.x-fixes/rt/bindings/http/src/main/java/org/apache/cxf/binding/http/interceptor/URIParameterInInterceptor.java

Author: jgenender
Date: Tue May 27 15:53:59 2008
New Revision: 660754

URL: http://svn.apache.org/viewvc?rev=660754&view=rev
Log:
Fix application/x-www-form-urlencoded string - removed th eperiod

Modified:
    cxf/branches/2.0.x-fixes/rt/bindings/http/src/main/java/org/apache/cxf/binding/http/interceptor/URIParameterInInterceptor.java

Modified: cxf/branches/2.0.x-fixes/rt/bindings/http/src/main/java/org/apache/cxf/binding/http/interceptor/URIParameterInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/rt/bindings/http/src/main/java/org/apache/cxf/binding/http/interceptor/URIParameterInInterceptor.java?rev=660754&r1=660753&r2=660754&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/rt/bindings/http/src/main/java/org/apache/cxf/binding/http/interceptor/URIParameterInInterceptor.java (original)
+++ cxf/branches/2.0.x-fixes/rt/bindings/http/src/main/java/org/apache/cxf/binding/http/interceptor/URIParameterInInterceptor.java Tue May 27 15:53:59 2008
@@ -88,7 +88,7 @@
         MessagePartInfo part = parts.get(0);
 
         List<Param> params = null;
-        if ("application/x-www-form-urlencoded.".equals(contentType)) {
+        if ("application/x-www-form-urlencoded".equals(contentType)) {
             params = IriDecoderHelper.decode(path, location, message.getContent(InputStream.class));
         } else if ("application/xml".equals(contentType)) {
             params = IriDecoderHelper.decodeIri(path, location);