DATAGRAPH-870 - Incorrect relative paths in rest requests of https URLs.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user