Allow '=' character in URL encoded paths and fragments

This commit is contained in:
Thulinma 2017-12-12 15:29:17 +01:00
parent dca157228e
commit dd8953faec
3 changed files with 5 additions and 5 deletions

View file

@ -20,7 +20,7 @@ namespace Encodings {
/// urldecodes std::string data, parsing out both %-encoded characters and +-encoded spaces.
static std::string decode(const std::string & in);
/// urlencodes std::string data, leaving only the characters A-Za-z0-9~!&()' alone.
static std::string encode(const std::string & c);
static std::string encode(const std::string & c, const std::string &ign = "");
};