Commit ead20898 authored by Max Kellermann's avatar Max Kellermann

storage/curl: unescape URI in MapToRelativeUTF8()

parent 364acc89
......@@ -85,9 +85,8 @@ CurlStorage::MapUTF8(const char *uri_utf8) const noexcept
const char *
CurlStorage::MapToRelativeUTF8(const char *uri_utf8) const noexcept
{
// TODO: escape/unescape?
return PathTraitsUTF8::Relative(base.c_str(), uri_utf8);
return PathTraitsUTF8::Relative(base.c_str(),
CurlUnescape(uri_utf8).c_str());
}
class BlockingHttpRequest : protected CurlResponseHandler {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment