remove unused html en/decoding entities, we use JSON now
This commit is contained in:
parent
5bed7f292f
commit
6933804aa4
@ -126,10 +126,6 @@ inline std::string escape_JSON(const std::string &input)
|
|||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::string originals[] = {"&", "\"", "<", ">", "'", "[", "]", "\\"};
|
|
||||||
static std::string entities[] = {
|
|
||||||
"&", """, "<", ">", "'", "&91;", "&93;", " \"};
|
|
||||||
|
|
||||||
inline std::size_t URIDecode(const std::string &input, std::string &output)
|
inline std::size_t URIDecode(const std::string &input, std::string &output)
|
||||||
{
|
{
|
||||||
auto src_iter = input.begin();
|
auto src_iter = input.begin();
|
||||||
|
Loading…
Reference in New Issue
Block a user