DATAGRAPH-870 - Incorrect relative paths in rest requests of https URLs.

This commit is contained in:
Michael Hunger
2016-05-24 15:31:48 +02:00
parent 4cff6f71a6
commit bc5bb131a7

View File

@@ -115,7 +115,7 @@ public class ExecutingRestRequest implements RestRequest {
}
private String pathOrAbsolute( String path ) {
if ( path.startsWith( "http://" ) ) return path;
if ( path.contains( "://" ) ) return path;
return baseUri + "/" + path;
}