Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
dkalinowski committed Jan 10, 2025
1 parent b03b3ab commit 4086491
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/http_rest_api_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
#ifndef _WIN32
#include <curl/curl.h>
#else
#include <sstream>
#include <iomanip>
#include <cctype>
#include <iomanip>
#include <sstream>
#endif
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
Expand Down Expand Up @@ -1176,7 +1176,7 @@ std::string urlDecode(const std::string& encoded) {
hex_value << encoded.substr(i + 1, 2);
hex_value >> std::hex >> value;
decoded << static_cast<char>(value);
i += 2; // Skip the next two characters
i += 2; // Skip the next two characters
} else {
// Invalid escape sequence, copy '%' as is
decoded << '%';
Expand Down

0 comments on commit 4086491

Please sign in to comment.