ladybird/Libraries/LibURL/Rust/src
Tim Ledbetter 3771bd5d4a LibURL: Advance past the '@' delimiter after batch-parsing userinfo
After batch-processing the userinfo, the authority state advanced the
parse pointer onto the '@' and relied on the end-of-loop increment to
step past it. That increment uses the byte length of the authority's
first code point, not the delimiter's. When the first code point was
multi-byte, the pointer overshot into the middle of a code point and
the next iteration sliced the string at a non-char boundary causing the
process to panic. We now step past the delimiter explicitly so we don't
need to rely on the end of loop increment to do so.
2026-06-07 11:29:43 +01:00
..
ffi LibURL: Replace WTF-8 surrogates before Rust URL parsing 2026-05-30 01:41:34 +02:00
pattern LibURL: Implement URLPattern in Rust 2026-05-28 09:27:41 +02:00
url LibURL: Advance past the '@' delimiter after batch-parsing userinfo 2026-06-07 11:29:43 +01:00
ffi.rs LibURL: Implement URLPattern in Rust 2026-05-28 09:27:41 +02:00
lib.rs LibURL: Implement URLPattern in Rust 2026-05-28 09:27:41 +02:00
textcodec.rs