[iri] accept also : and @

again, to be RFC3986 compliant.
This commit is contained in:
Omar Polo 2021-02-06 09:33:48 +00:00
parent 8404ec301f
commit 19e7bd00a3
1 changed files with 2 additions and 0 deletions

2
iri.c
View File

@ -289,6 +289,8 @@ parse_query(struct parser *p)
|| sub_delimiters(*p->iri)
|| *p->iri == '/'
|| *p->iri == '?'
|| *p->iri == ':'
|| *p->iri == '@'
|| valid_pct_encoded(p)
|| valid_multibyte_utf8(p))
p->iri++;