archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherit...@apache.org
Subject svn commit: r537022 [2/2] - in /maven/archiva/branches/archiva-0.9: archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/ archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/ archiva-webapp/src/main/java/org/apache/maven/archiva/web/reposi...
Date Thu, 10 May 2007 22:30:39 GMT
Modified: maven/archiva/branches/archiva-0.9/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
URL: http://svn.apache.org/viewvc/maven/archiva/branches/archiva-0.9/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java?view=diff&rev=537022&r1=537021&r2=537022
==============================================================================
--- maven/archiva/branches/archiva-0.9/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
(original)
+++ maven/archiva/branches/archiva-0.9/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/ProxiedDavServer.java
Thu May 10 15:30:38 2007
@@ -26,6 +26,7 @@
 import org.apache.maven.archiva.configuration.ProxiedRepositoryConfiguration;
 import org.apache.maven.archiva.configuration.Proxy;
 import org.apache.maven.archiva.configuration.RepositoryConfiguration;
+import org.apache.maven.archiva.proxy.ProxiedArtifact;
 import org.apache.maven.archiva.proxy.ProxyException;
 import org.apache.maven.archiva.proxy.ProxyRequestHandler;
 import org.apache.maven.artifact.repository.ArtifactRepository;
@@ -160,8 +161,9 @@
     {
         try
         {
-            proxyRequestHandler.get( request.getLogicalResource(), this.proxiedRepositories,
this.managedRepository,
+            ProxiedArtifact proxied = proxyRequestHandler.get( request.getLogicalResource(),
this.proxiedRepositories, this.managedRepository,
                                      this.wagonProxy );
+            request.getRequest().setPathInfo( proxied.getPath() );
         }
         catch ( ProxyException e )
         {



Mime
View raw message