mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
LibWeb: Fix crash in HTML encoding detection when handling non-ASCII
The fix here was to stop using StringBuilder::append(char) when told to append a code point, and switch to StringBuilder::append_code_point(u32) There's probably a bunch more issues like this, and we should stop using append(char) in general since it allows building of garbage strings.
This commit is contained in:
parent
83f43310fa
commit
9ce267944c
3 changed files with 14 additions and 6 deletions
|
@ -0,0 +1 @@
|
|||
<z==š
|
Loading…
Add table
Add a link
Reference in a new issue