commit 30398ec1cb13001ad23b1cb8c6d3e2e93796da2f from: Omar Polo date: Sat Dec 24 22:15:29 2022 UTC iri: fix typo: should check the first two characters, not three commit - 5cb6cd4da7c71adf2c773f9cc29f8ad523e8fbfa commit + 30398ec1cb13001ad23b1cb8c6d3e2e93796da2f blob - 9ec91f67cc36f4f79418a948755e913f84c30c64 blob + 0f81b4ce213dd5f9ff0ec5894eba5b6dfc532bc8 --- iri.c +++ iri.c @@ -487,7 +487,7 @@ remove_dot_segments(struct iri *iri) p += 3; continue; } - if (!strncmp(p, "./", 3)) { + if (!strncmp(p, "./", 2)) { p += 2; continue; }