mirror of https://github.com/apache/archiva.git
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:
parent
8b1587ea4e
commit
7dfd478f18
|
@ -148,9 +148,9 @@ public abstract class AbstractRepositoryPurgeTest
|
||||||
if ( path.contains( " " ) )
|
if ( path.contains( " " ) )
|
||||||
{
|
{
|
||||||
LoggerFactory.getLogger(AbstractRepositoryPurgeTest.class.getName()).error(
|
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.");
|
+ path + " containing space. Consider relocating.");
|
||||||
return path.replaceAll(" ", "%20");
|
return path.replaceAll(" ", "&20");
|
||||||
}
|
}
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue