Commit 5c6831ab authored by Dominik Charousset's avatar Dominik Charousset

Consider < and > as reserved characters in URIs

parent 41282000
...@@ -70,7 +70,7 @@ void read_uri_percent_encoded(State& ps, std::string& str) { ...@@ -70,7 +70,7 @@ void read_uri_percent_encoded(State& ps, std::string& str) {
inline bool uri_unprotected_char(char c) { inline bool uri_unprotected_char(char c) {
// Consider valid characters not explicitly stated as reserved as unreserved. // Consider valid characters not explicitly stated as reserved as unreserved.
return isprint(c) && !in_whitelist(":/?#[]@!$&'()*+,;=", c); return isprint(c) && !in_whitelist(":/?#[]@!$&'()*+,;=<>", c);
} }
// clang-format off // clang-format off
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment