mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-24 01:14:31 +00:00
For `:#xx` in names, we now also handle lower-case hex digits. The spec is silent on the case of these hex digits. Our previous check (isxdigit(), and now is_ascii_hex_digit()) lets through lower-case hex digits, so it seems better to handle them rather than computing e.g. `'a' - 'A' + 10` (== 42 -- off by 32!). I don't know if this has any visible effect on any files, but it's more correct, and less code, and the code looks more like the code in Filter::decode_ascii_hex().
19 KiB
19 KiB