mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-04 14:55:34 +00:00
This commit replaces the usage of String::starts_with with Utf8View::starts_with, which first decodes the utf8 encoded string, and as such can take things like overlong encoded sequences into account (which could otherwise cause the prefix check to be inconsistent with the following code points check).
46 KiB
46 KiB