diff options
author | Omar Polo <op@omarpolo.com> | 2022-07-04 08:15:39 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-07-04 08:15:39 +0000 |
commit | 5e41063f1b0cd8f096ec925777bc4cf4ef6ba828 (patch) | |
tree | 466aab4a55073ff0ae293e9b290caeafe2ac8bf5 /iri.c | |
parent | df9b3790817d4d64fee06e046a479a67d4a91b13 (diff) |
bugfix: allow @ and : in paths
gmid would disallow the '@' and ':' characters in paths (unless
percent-encoded.) Issue reported by freezr.
Diffstat (limited to 'iri.c')
-rw-r--r-- | iri.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -352,6 +352,8 @@ parse_path(struct parser *p) while (unreserved(*p->iri) || sub_delimiters(*p->iri) + || *p->iri == '@' + || *p->iri == ':' || *p->iri == '/' || parse_pct_encoded(p) || valid_multibyte_utf8(p)) |