fetchers: use pathToUrlPath in PathInputScheme::toURL
This commit is contained in:
committed by
John Ericson
parent
9c59f62890
commit
0d8ca7a888
@@ -95,7 +95,7 @@ struct PathInputScheme : InputScheme
|
||||
query.erase("__final");
|
||||
return ParsedURL{
|
||||
.scheme = "path",
|
||||
.path = splitString<std::vector<std::string>>(getStrAttr(input.attrs, "path"), "/"),
|
||||
.path = pathToUrlPath(std::filesystem::path{getStrAttr(input.attrs, "path")}),
|
||||
.query = query,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user