diff --git a/servehelper.cpp b/servehelper.cpp index dad3698..12356b2 100644 --- a/servehelper.cpp +++ b/servehelper.cpp @@ -77,7 +77,7 @@ std::string proxy_image_url(const Config& config, blankie::murl::Url url) { if (!url.path.empty() && url.path[0] != '/') { new_url.path += '/'; } - new_url.path += std::move(url.path); + new_url.path += blankie::murl::normalize_path(std::move(url.path)); if (!new_url.query.empty() && !url.query.empty()) { new_url.query += '&'; new_url.query += std::move(url.query);