commit 4125c94fda179de8d425ce3fb70972015c80c7a4 from: Omar Polo date: Sat Feb 06 13:57:12 2021 UTC make sure @ is allowed, and rephrase another test commit - 52053e1a61dcf07752f449f8f430855004d4037b commit + 4125c94fda179de8d425ce3fb70972015c80c7a4 blob - ba5fe4bb6d0648f4f61ce8d155011ad27da9e6c9 blob + 785305d049d2d46348dc1fe7d627117c645413cc --- regress/iri_test.c +++ regress/iri_test.c @@ -208,6 +208,14 @@ main(void) /* PASS, */ /* IRI("foo", "example.com", "", "foo/", "gne/", ""), */ /* "parse query strings"); */ + TEST("foo://ex.com/robots.txt?name=foobar&url=https://foo.com", + PASS, + IRI("foo", "ex.com", "", "robots.txt", "name=foobar&url=https://foo.com", ""), + "Accepts : in queries"); + TEST("foo://ex.com/foo?email=foo@bar.com#quuz", + PASS, + IRI("foo", "ex.com", "", "foo", "email=foo@bar.com", "quuz"), + "Accepts @ in queries"); /* fragment */ TEST("foo://bar.co/#foo",