Merge "Better way to handle relative URLs in manifest XML"
This commit is contained in:
commit
c8ddac2a86
|
@ -351,8 +351,8 @@ public void endDocument() throws SAXException {
|
|||
}
|
||||
final String remoteUrl;
|
||||
try {
|
||||
URI uri = new URI(String.format("%s/%s/", baseUrl, remotes.get(defaultRemote))); //$NON-NLS-1$
|
||||
remoteUrl = uri.normalize().toString();
|
||||
URI uri = new URI(baseUrl);
|
||||
remoteUrl = uri.resolve(remotes.get(defaultRemote)).toString();
|
||||
} catch (URISyntaxException e) {
|
||||
throw new SAXException(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue