diff --git a/src/util/UriRelative.cxx b/src/util/UriRelative.cxx index 507861a46..f58ff0c3c 100644 --- a/src/util/UriRelative.cxx +++ b/src/util/UriRelative.cxx @@ -173,7 +173,7 @@ uri_apply_relative(const std::string &relative_uri, if (StringStartsWith(relative_path, "../")) return {}; if (!StringIsEqual(relative_path, ".")) - result += relative_uri; + result += relative_path; return result; }