diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-11 13:08:00 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-11 13:08:00 +0000 |
commit | 3c1cf9d07cb679ba444566159538b510902f2de9 (patch) | |
tree | 3f3e8abbbddd868cd3553bb6d7e15d5667f266f6 /utf8.c | |
parent | 28778244d67be7024868a5095e5eedda22a3ed98 (diff) |
s/uri/iri since we accept IRIs
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -64,8 +64,8 @@ valid_multibyte_utf8(struct parser *p) { uint32_t cp = 0, state = 0; - for (; *p->uri; p->uri++) - if (!utf8_decode(&state, &cp, *p->uri)) + for (; *p->iri; p->iri++) + if (!utf8_decode(&state, &cp, *p->iri)) break; /* reject the ASCII range */ |