1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00
ladybird/Libraries
Sam Atkins 9a7ce901b7 LibURL: Gracefully handle a host having no public suffix
Specifically, after implementing some recent spec changes to navigables,
we end up calling `get_public_suffix("localhost")` here, which returns
OptionalNone. This would previously crash.

Our get_public_suffix() seems a little incorrect. From the spec:
> If no rules match, the prevailing rule is "*".
> https://github.com/publicsuffix/list/wiki/Format#algorithm

However, ours returns an empty Optional in that case. To avoid breaking
other users of it, this patch modifies Host's uses of it, rather than
the function itself.
2025-01-21 18:17:18 +01:00
..
LibCompress Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
LibCore AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
LibCrypto LibCrypto: Implement RSA_PSS_EMSA with OpenSSL 2025-01-17 12:43:03 +01:00
LibDiff
LibDNS LibDNS: Fix deadlock when receiving invalid lookup result 2024-12-01 11:32:45 +01:00
LibFileSystem Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
LibGC AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
LibGfx AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
LibHTTP AK: Don't implicitly convert Optional<T&> to Optional<T> 2024-12-04 01:58:22 +01:00
LibIDL AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
LibImageDecoderClient LibGfx+LibWeb: Do some color management on images with an ICC profile 2024-12-05 17:16:41 +01:00
LibIPC LibURL: Migrate Origin scheme from ByteString to String 2024-11-30 12:07:39 +01:00
LibJS AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
LibLine Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
LibMain
LibMedia Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
LibRegex AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
LibRequests Meta: Make pthread and mman available for all libraries on Windows 2024-12-18 05:55:58 +01:00
LibRIFF
LibSyntax
LibTest AK: Allow calling EXPECT on templates/list-initializers 2024-11-24 23:04:34 -07:00
LibTextCodec
LibThreading LibThreading: Make MutexLocker [[nodiscard]] 2025-01-10 13:21:36 +00:00
LibTLS LibCrypto+LibTLS: Replace RSA_PKCS1-EMSA implementation 2025-01-13 17:00:18 +01:00
LibUnicode AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
LibURL LibURL: Gracefully handle a host having no public suffix 2025-01-21 18:17:18 +01:00
LibWasm LibWasm: Respect instance.types() bounds 2024-12-09 12:30:41 +01:00
LibWeb LibWeb/DOM: Return Document's Origin by reference 2025-01-21 18:17:18 +01:00
LibWebSocket LibWebSocket: Use Crypto::fill_with_secure_random instead of PRNG 2024-12-24 17:54:52 +01:00
LibWebView AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
LibXML LibXml: Notify listener when doctype is parsed 2025-01-20 14:48:19 +01:00