diff --git a/p2-maven-plugin/src/main/java/org/eclipse/tycho/p2maven/transport/SharedHttpCacheStorage.java b/p2-maven-plugin/src/main/java/org/eclipse/tycho/p2maven/transport/SharedHttpCacheStorage.java index d5afae26ce..d29a3ea36e 100644 --- a/p2-maven-plugin/src/main/java/org/eclipse/tycho/p2maven/transport/SharedHttpCacheStorage.java +++ b/p2-maven-plugin/src/main/java/org/eclipse/tycho/p2maven/transport/SharedHttpCacheStorage.java @@ -151,7 +151,7 @@ public File getCacheFile(HttpTransportFactory transportFactory) private synchronized CacheLine getCacheLine(URI uri) { String cleanPath = uri.normalize().toASCIIString().replace(':', '/').replace('?', '/').replace('&', '/') - .replaceAll("/+", "/"); + .replace('*', '/').replaceAll("/+", "/"); if (cleanPath.endsWith("/")) { // simulate accessing this as a folder... // this can happen in case of a redirect even though its quite clumsy