You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ay...@apache.org on 2011/05/23 14:53:43 UTC
svn commit: r1126478 -
/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/DestinationRegistryImpl.java
Author: ay
Date: Mon May 23 12:53:43 2011
New Revision: 1126478
URL: http://svn.apache.org/viewvc?rev=1126478&view=rev
Log:
cxf-3510 followp fix for jaxrs systests
Modified:
cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/DestinationRegistryImpl.java
Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/DestinationRegistryImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/DestinationRegistryImpl.java?rev=1126478&r1=1126477&r2=1126478&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/DestinationRegistryImpl.java (original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/DestinationRegistryImpl.java Mon May 23 12:53:43 2011
@@ -80,6 +80,7 @@ public class DestinationRegistryImpl imp
AbstractHTTPDestination ret = null;
for (String path : getDestinationsPaths()) {
if ((address.equals(path)
+ || "/".equals(path)
|| (address.length() > path.length()
&& address.startsWith(path) && address.charAt(path.length()) == '/'))
&& path.length() > len) {