From 7dfd478f18d121da4a496cbc9eddf3ea79aa85d9 Mon Sep 17 00:00:00 2001 From: skygo Date: Tue, 7 Aug 2012 22:33:50 +0000 Subject: [PATCH] replace by &20 instead of %20 % not allowed shame git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370577 13f79535-47bb-0310-9956-ffa450edef68 --- .../core/repository/AbstractRepositoryPurgeTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }