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();