From 9b9945299de02d514ee045fa490b36d1d93a591a Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Fri, 1 Sep 2006 06:00:55 +0000 Subject: [PATCH] fix proxy tests git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@439198 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/archiva/proxy/DefaultProxyRequestHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultProxyRequestHandler.java b/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultProxyRequestHandler.java index e4fe87156..97eff1f8d 100644 --- a/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultProxyRequestHandler.java +++ b/archiva-proxy/src/main/java/org/apache/maven/archiva/proxy/DefaultProxyRequestHandler.java @@ -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();