mirror of https://github.com/apache/archiva.git
make sure the URL includes required /
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@594269 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2ecf0c0978
commit
6312584ac3
|
@ -478,7 +478,12 @@ public class DefaultRepositoryProxyConnectors
|
|||
File localFile, Properties requestProperties )
|
||||
throws ProxyException, NotModifiedException
|
||||
{
|
||||
String url = remoteRepository.getURL().getUrl() + remotePath;
|
||||
String url = remoteRepository.getURL().getUrl();
|
||||
if ( !url.endsWith( "/" ) )
|
||||
{
|
||||
url = url + "/";
|
||||
}
|
||||
url = url + remotePath;
|
||||
requestProperties.setProperty( "url", url );
|
||||
|
||||
// Is a whitelist defined?
|
||||
|
|
Loading…
Reference in New Issue