# HG changeset patch # User Sebastien Jodogne # Date 1642524674 -3600 # Node ID 155daf23887d8f10a4b02c4418ef3b7ed2470803 # Parent 5dae41084ab7e91f2de539f707f47f4ad9ec164a disable useless calls to Toolbox::UrlDecode() diff -r 5dae41084ab7 -r 155daf23887d OrthancFramework/Sources/HttpServer/HttpToolbox.cpp --- a/OrthancFramework/Sources/HttpServer/HttpToolbox.cpp Tue Jan 18 15:04:04 2022 +0100 +++ b/OrthancFramework/Sources/HttpServer/HttpToolbox.cpp Tue Jan 18 17:51:14 2022 +0100 @@ -51,8 +51,13 @@ value = std::string(equal + 1, end); } +#if 0 + // These calls were present in Orthanc <= 1.9.7, but should not be + // used because mongoose/civetweb already implement URL decoding + // (cf. "mg_url_decode()") Toolbox::UrlDecode(name); Toolbox::UrlDecode(value); +#endif result.push_back(std::make_pair(name, value)); }