mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
ircd::rfc3986::decoder: Relax decode restriction to all non-control.
This commit is contained in:
parent
9d45118628
commit
51fdf2bfdf
1 changed files with 2 additions and 2 deletions
|
@ -439,7 +439,7 @@ ircd::rfc3986::decoder
|
||||||
|
|
||||||
const rule<char()> decode_char
|
const rule<char()> decode_char
|
||||||
{
|
{
|
||||||
lit('%') > qi::uint_parser<char, 16, 2, 2>{}
|
lit('%') > qi::uint_parser<unsigned char, 16, 2, 2>{}
|
||||||
,"url decodable character"
|
,"url decodable character"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -470,7 +470,7 @@ ircd::rfc3986::decoder
|
||||||
:decoder::base_type{decode_safe}
|
:decoder::base_type{decode_safe}
|
||||||
{
|
{
|
||||||
//TODO: XXX this never reports failure to throw; it just stops parsing
|
//TODO: XXX this never reports failure to throw; it just stops parsing
|
||||||
decode_safe %= *(unreserved_char | decode_char[_pass = (local::_1 > 0x1F)]);
|
decode_safe %= *(unreserved_char | decode_char[_pass = ((local::_1 > 0x1F) | (local::_1 < 0x00))]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const ircd::rfc3986::decoder;
|
const ircd::rfc3986::decoder;
|
||||||
|
|
Loading…
Reference in a new issue