We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94bf347 commit 7c85e43Copy full SHA for 7c85e43
lib/dsc-lib/src/functions/uri.rs
@@ -42,7 +42,7 @@ fn combine_uri(base_uri: &str, relative_uri: &str) -> Result<String, DscError> {
42
return Err(DscError::Parser(t!("functions.uri.emptyBaseUri").to_string()));
43
}
44
45
- if !base_uri.contains("://") {
+ if !base_uri.contains("://") && !base_uri.starts_with("//") {
46
return Err(DscError::Parser(t!("functions.uri.notAbsoluteUri").to_string()));
47
48
0 commit comments