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
This commit is contained in:
skygo 2012-08-07 22:33:50 +00:00
parent 8b1587ea4e
commit 7dfd478f18
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}