]> source.dussan.org Git - archiva.git/commitdiff
fix proxy tests
authorBrett Porter <brett@apache.org>
Fri, 1 Sep 2006 06:00:55 +0000 (06:00 +0000)
committerBrett Porter <brett@apache.org>
Fri, 1 Sep 2006 06:00:55 +0000 (06:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@439198 13f79535-47bb-0310-9956-ffa450edef68

archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultProxyRequestHandler.java

index e4fe87156688f48e0c5aa103f5669d90ca97b748..97eff1f8dc0f29c1f93835f12f5554c86b8a0fa7 100644 (file)
@@ -665,7 +665,7 @@ public class DefaultProxyRequestHandler
 
                 String remoteChecksum = DigestUtils.cleanChecksum( FileUtils.fileRead( tempChecksumFile ),
                                                                    checksumExt.toUpperCase(),
-                                                                   path.substring( path.lastIndexOf( '/' ) ) );
+                                                                   path.substring( path.lastIndexOf( '/' ) + 1 ) );
 
                 String actualChecksum = checksum.getActualChecksum();