ladybird/Tests/LibURL
Shannon Booth b4f46211d2 LibURL: Replace WTF-8 surrogates before Rust URL parsing
The Rust URL FFI used String::from_utf8_lossy() on raw bytes from C++.
That was not equivalent to the old C++ parser behavior for WTF-8 encoded
surrogates. For example a byte sequence such as ED A0 80 was treated as
three invalid UTF-8 bytes, producing three U+FFFD replacement
characters.

Instead use String::from_utf8_with_replacement_character and let Rust
borrow the input as &str.
2026-05-30 01:41:34 +02:00
..
CMakeLists.txt LibURL: Remove C++ URLPattern implementation 2026-05-28 09:27:41 +02:00
TestPublicSuffix.cpp Tests: Add some basic public suffix tests 2025-10-23 15:01:13 +02:00
TestURL.cpp LibURL: Replace WTF-8 surrogates before Rust URL parsing 2026-05-30 01:41:34 +02:00
TestURLPattern.cpp LibURL: Implement URLPattern in Rust 2026-05-28 09:27:41 +02:00