diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/repository/AbstractRepositoryPurgeTest.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/repository/AbstractRepositoryPurgeTest.java index a1d92bd9e..896fc0246 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/repository/AbstractRepositoryPurgeTest.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/repository/AbstractRepositoryPurgeTest.java @@ -148,9 +148,9 @@ public abstract class AbstractRepositoryPurgeTest if ( path.contains( " " ) ) { LoggerFactory.getLogger(AbstractRepositoryPurgeTest.class.getName()).error( - "You are building and testing with a path: \n " + "You are building and testing with a path: \n " + path + " containing space. Consider relocating."); - return path.replaceAll(" ", "%20"); + return path.replaceAll(" ", "&20"); } return path; }