storage/curl: unescape URI in MapToRelativeUTF8()
This commit is contained in:
parent
364acc8949
commit
ead208987d
|
@ -85,9 +85,8 @@ CurlStorage::MapUTF8(const char *uri_utf8) const noexcept
|
||||||
const char *
|
const char *
|
||||||
CurlStorage::MapToRelativeUTF8(const char *uri_utf8) const noexcept
|
CurlStorage::MapToRelativeUTF8(const char *uri_utf8) const noexcept
|
||||||
{
|
{
|
||||||
// TODO: escape/unescape?
|
return PathTraitsUTF8::Relative(base.c_str(),
|
||||||
|
CurlUnescape(uri_utf8).c_str());
|
||||||
return PathTraitsUTF8::Relative(base.c_str(), uri_utf8);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class BlockingHttpRequest : protected CurlResponseHandler {
|
class BlockingHttpRequest : protected CurlResponseHandler {
|
||||||
|
|
Loading…
Reference in New Issue