commit 6d0918263815f42917efe14158e8f1c21b1aae22 from: Omar Polo date: Mon Dec 26 15:30:48 2022 UTC iri: zero iri_flags before parsing commit - 21fc67ae053c5b9471bbf16e990cfccdefa9c029 commit + 6d0918263815f42917efe14158e8f1c21b1aae22 blob - 58725bc8b3d1797aa8a893c022b93919274f92c4 blob + 752936b447d350244418b89e47c9861bf9797ef1 --- iri.c +++ iri.c @@ -389,6 +389,8 @@ parse_fragment(const char *s, struct iri *iri) static int parse_uri(const char *s, struct iri *iri) { + iri->iri_flags = 0; + if ((s = parse_scheme(s, iri)) == NULL) return (-1);