1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 17:15:08 +00:00
serenity/Tests/LibWeb/Layout/input/html-encoding-detection-crash.html
Andreas Kling 9ce267944c 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.
2023-12-30 13:49:50 +01:00

1 line
6 B
HTML