From 5e41063f1b0cd8f096ec925777bc4cf4ef6ba828 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Mon, 4 Jul 2022 08:15:39 +0000 Subject: bugfix: allow @ and : in paths gmid would disallow the '@' and ':' characters in paths (unless percent-encoded.) Issue reported by freezr. --- regress/iri_test.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'regress/iri_test.c') diff --git a/regress/iri_test.c b/regress/iri_test.c index 6595f92..c6725b5 100644 --- a/regress/iri_test.c +++ b/regress/iri_test.c @@ -198,6 +198,10 @@ main(void) PASS, IRI("http", "a", "", "", "", ""), "avoid infinite loops (see v1.6.1)"); + TEST("gemini://example.com/@f:b!(z$&)/baz", + PASS, + IRI("gemini", "example.com", "", "@f:b!(z$&)/baz", "", ""), + "allow @, :, !, (), $ and & in paths"); /* query */ TEST("foo://example.com/foo/?gne", -- cgit v1.2.3