cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r835843 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java
Date Fri, 13 Nov 2009 13:27:06 GMT
Author: sergeyb
Date: Fri Nov 13 13:27:05 2009
New Revision: 835843

URL: http://svn.apache.org/viewvc?rev=835843&view=rev
Log:
JAXRS : fixing a regression in the way cookieParams are handled

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java?rev=835843&r1=835842&r2=835843&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java (original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java Fri
Nov 13 13:27:05 2009
@@ -747,7 +747,7 @@
         List<String> values = new HttpHeadersImpl(m).getRequestHeader(HttpHeaders.COOKIE);
         String theValue = null;
         for (String s : values) {
-            if (s.startsWith(cookieName)) {
+            if (s.contains(cookieName + "=")) {
                 theValue = s;
                 break;
             }



Mime
View raw message