ladybird/Libraries/LibURL
Shannon Booth 250842d36a LibURL: Use encoding_rs for form URL encoding
Replace the Rust URL form-encoding callback bridge into C++ TextCodec
with a direct encoding_rs encoder.

This keeps percent-encode-after-encoding entirely in Rust and removes
liburl_rust's dependency on LibTextCodec.

It also happens to fix ISO-2022-JP URL encoding of literal U+FFFD.

The LibTextCodec reverse lookup treats generated 0xFFFD table holes as
real JIS0208 mappings, so literal U+FFFD skipped the encoder-error
path. encoding_rs treats U+FFFD as unmappable, so URL encoding emits
the required numeric character reference.
2026-06-20 21:56:43 +02:00
..
Rust LibURL: Use encoding_rs for form URL encoding 2026-06-20 21:56:43 +02:00
CMakeLists.txt LibURL: Use encoding_rs for form URL encoding 2026-06-20 21:56:43 +02:00
Forward.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
Host.cpp LibURL: Let Host use PublicSuffixData star rule matching 2026-06-16 06:14:07 +02:00
Host.h AK+LibURL: Use AK::IPv4/6 in Host 2025-12-31 10:24:56 +01:00
InternalURLs.h LibWebView: Add about:history to view, query and mangage browser history 2026-06-10 20:27:36 +02:00
Origin.cpp LibURL: Move some Origin helpers out of line 2026-03-01 01:04:10 +01:00
Origin.h LibURL: Move some Origin helpers out of line 2026-03-01 01:04:10 +01:00
Parser.cpp LibURL: Remove C++ URL Parser implementation 2026-05-28 09:27:41 +02:00
Parser.h LibURL: Remove C++ URL Parser implementation 2026-05-28 09:27:41 +02:00
PublicSuffixData.cpp LibURL: Let Host use PublicSuffixData star rule matching 2026-06-16 06:14:07 +02:00
PublicSuffixData.h LibURL: Let Host use PublicSuffixData star rule matching 2026-06-16 06:14:07 +02:00
RustIntegration.cpp LibURL: Use encoding_rs for form URL encoding 2026-06-20 21:56:43 +02:00
RustIntegration.h LibURL: Expose rust host parsing over FFI 2026-05-28 09:27:41 +02:00
Site.cpp LibURL: Add ability to store whether an origin is a file scheme origin 2026-02-21 23:00:57 +01:00
Site.h LibURL: Implement Site concept 2024-11-30 12:07:39 +01:00
URL.cpp LibURL: Move registrable-domain PSL lookup to PublicSuffixData 2026-06-08 20:19:06 +02:00
URL.h LibURL+LibWeb+LibWebView: Move internal URLs to their own header 2026-06-10 20:27:36 +02:00