From 9d45118628bc1d3294a4008d964ee37e2606e2cc Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 20 Oct 2020 21:34:00 -0700 Subject: [PATCH] ircd::rfc3986::decoder: Relax unreserved characters to non-control. --- ircd/rfc3986.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ircd/rfc3986.cc b/ircd/rfc3986.cc index d4ddba206..5e6d07343 100644 --- a/ircd/rfc3986.cc +++ b/ircd/rfc3986.cc @@ -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" };