mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::rfc3986: Relax decoder to allow already-decoded inputs.
This commit is contained in:
parent
a7d1bc9419
commit
5dc16850c6
1 changed files with 5 additions and 1 deletions
|
@ -445,7 +445,11 @@ struct ircd::rfc3986::decoder
|
|||
const rule<char()> unreserved_char
|
||||
{
|
||||
// unreserved characters and !$+*'(),
|
||||
char_("A-Za-z0-9._~!$+*'(),-")
|
||||
//char_("A-Za-z0-9._~!$+*'(),-")
|
||||
|
||||
//NOTE: allow any printable character here. No reason for trouble with
|
||||
//NOTE: already-decoded inputs unless some other grammar expects it.
|
||||
ascii::print - '%'
|
||||
,"url unreserved characters"
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue