util/UriRelative: fix variable mixup
This commit is contained in:
parent
41a69027c2
commit
c34a1e29de
@ -173,7 +173,7 @@ uri_apply_relative(const std::string &relative_uri,
|
|||||||
if (StringStartsWith(relative_path, "../"))
|
if (StringStartsWith(relative_path, "../"))
|
||||||
return {};
|
return {};
|
||||||
if (!StringIsEqual(relative_path, "."))
|
if (!StringIsEqual(relative_path, "."))
|
||||||
result += relative_uri;
|
result += relative_path;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user