chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1478177 - /chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings-classes/src/main/java/org/apache/chemistry/opencmis/server/impl/browser/BrowserBindingUtils.java
Date Wed, 01 May 2013 20:29:41 GMT
Author: fmui
Date: Wed May  1 20:29:41 2013
New Revision: 1478177

URL: http://svn.apache.org/r1478177
Log:
Browser binding server: fixed URL compilation

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings-classes/src/main/java/org/apache/chemistry/opencmis/server/impl/browser/BrowserBindingUtils.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings-classes/src/main/java/org/apache/chemistry/opencmis/server/impl/browser/BrowserBindingUtils.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings-classes/src/main/java/org/apache/chemistry/opencmis/server/impl/browser/BrowserBindingUtils.java?rev=1478177&r1=1478176&r2=1478177&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings-classes/src/main/java/org/apache/chemistry/opencmis/server/impl/browser/BrowserBindingUtils.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings-classes/src/main/java/org/apache/chemistry/opencmis/server/impl/browser/BrowserBindingUtils.java
Wed May  1 20:29:41 2013
@@ -113,12 +113,13 @@ public final class BrowserBindingUtils {
 
         url.addPath(request.getContextPath());
         url.addPath(request.getServletPath());
+        url.addPathSegment(repositoryId);
 
         return url;
     }
 
     public static UrlBuilder compileRepositoryUrl(HttpServletRequest request, String repositoryId)
{
-        return compileBaseUrl(request, repositoryId).addPathSegment(repositoryId);
+        return compileBaseUrl(request, repositoryId);
     }
 
     public static UrlBuilder compileRootUrl(HttpServletRequest request, String repositoryId)
{



Mime
View raw message