cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r702678 - in /cxf/branches/2.1.x-fixes: ./ rt/core/src/main/java/org/apache/cxf/transport/http/UrlUtilities.java
Date Wed, 08 Oct 2008 01:21:04 GMT
Author: ningjiang
Date: Tue Oct  7 18:21:04 2008
New Revision: 702678

URL: http://svn.apache.org/viewvc?rev=702678&view=rev
Log:
Merged revisions 702657 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r702657 | bimargulies | 2008-10-08 06:23:41 +0800 (Wed, 08 Oct 2008) | 2 lines
  
  Fix for CXF-1821 from Will Gomes.
........

Modified:
    cxf/branches/2.1.x-fixes/   (props changed)
    cxf/branches/2.1.x-fixes/rt/core/src/main/java/org/apache/cxf/transport/http/UrlUtilities.java

Propchange: cxf/branches/2.1.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.1.x-fixes/rt/core/src/main/java/org/apache/cxf/transport/http/UrlUtilities.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.1.x-fixes/rt/core/src/main/java/org/apache/cxf/transport/http/UrlUtilities.java?rev=702678&r1=702677&r2=702678&view=diff
==============================================================================
--- cxf/branches/2.1.x-fixes/rt/core/src/main/java/org/apache/cxf/transport/http/UrlUtilities.java
(original)
+++ cxf/branches/2.1.x-fixes/rt/core/src/main/java/org/apache/cxf/transport/http/UrlUtilities.java
Tue Oct  7 18:21:04 2008
@@ -61,11 +61,11 @@
      */
     public static String getStem(String baseURI) {
         URI uri = URI.create(baseURI);
-        baseURI = uri.getPath();
+        baseURI = uri.getRawPath();
         int idx = baseURI.lastIndexOf('/');
         if (idx != -1) {
             baseURI = baseURI.substring(0, idx);
         }
-        return baseURI;
+        return URI.create(baseURI).getPath();
     }
 }



Mime
View raw message