0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd::rfc3986::decoder: Relax unreserved characters to non-control.

This commit is contained in:
Jason Volk 2020-10-20 21:34:00 -07:00
parent b407769e21
commit 9d45118628

View file

@ -448,9 +448,9 @@ ircd::rfc3986::decoder
// unreserved characters and !$+*'(),
//char_("A-Za-z0-9._~!$+*'(),-")
//NOTE: allow any printable character here. No reason for trouble with
//NOTE: allow any non-control character here. No reason for trouble with
//NOTE: already-decoded inputs unless some other grammar expects it.
ascii::print - '%'
(~ascii::cntrl) - '%'
,"url unreserved characters"
};