ladybird/Tests
MacDue 8283e8b88c AK: Don't store parts of URLs percent decoded
As noted in serval comments doing this goes against the WC3 spec,
and breaks parsing then re-serializing URLs that contain percent
encoded data, that was not encoded using the same character set as
the serializer.

For example, previously if you had a URL like:

https:://foo.com/what%2F%2F (the path is what + '//' percent encoded)

Creating URL("https:://foo.com/what%2F%2F").serialize() would return:

https://foo.com/what//

Which is incorrect and not the same as the URL we passed. This is
because the re-serializing uses the PercentEncodeSet::Path which
does not include '/'.

Only doing the percent encoding in the setters fixes this, which
is required to navigate to Google Street View (which includes a
percent encoded URL in its URL).

Seems to fix #13477 too
2023-04-12 07:40:22 +02:00
..
AK AK: Don't store parts of URLs percent decoded 2023-04-12 07:40:22 +02:00
Kernel Tests: Use FileSystem instead of DeprecatedFile 2023-04-09 20:58:54 -06:00
LibAudio Tests: Correct FLAC spec test paths 2023-03-19 14:15:35 +00:00
LibC Tests: Use FileSystem instead of DeprecatedFile 2023-04-09 20:58:54 -06:00
LibCompress Tests: Convert LZMA and XZ tests to TRY_OR_FAIL 2023-04-09 18:27:06 +02:00
LibCore LibCore: Fix corner case for files without newlines 2023-04-09 18:09:23 -06:00
LibCpp AK: Rename Stream::read_entire_buffer to Stream::read_until_filled 2023-03-13 15:16:20 +00:00
LibCrypto LibCrypto: Add PBKDF2 2023-04-09 17:05:18 -06:00
LibEDID AK: Make FixedPoint(FloatingPoint) ctor round instead of truncating 2023-03-03 09:23:02 +00:00
LibELF Tests: Use FileSystem instead of DeprecatedFile 2023-04-09 20:58:54 -06:00
LibGfx LibGfx: Correctly decode webp lossless with small palette and odd width 2023-04-09 00:14:15 +02:00
LibGL LibGfx: Move all image loaders and writers to a subdirectory 2023-03-21 22:39:25 +01:00
LibIMAP LibIMAP: Propagate OOM errors from decode_quoted_printable() 2023-03-09 14:47:45 +00:00
LibJS Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
LibLocale LibJS+LibLocale: Port Intl.DateTimeFormat to String 2023-01-27 18:00:17 +00:00
LibMarkdown AK: Rename Stream::read_entire_buffer to Stream::read_until_filled 2023-03-13 15:16:20 +00:00
LibPDF Tests: Move test PDF files into Tests/LibPDF 2023-01-19 11:50:10 +00:00
LibRegex LibRegex: Make ^ and $ accept all LineTerminators instead of just '\n' 2023-03-25 15:44:05 +01:00
LibSQL Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
LibTest LibTest: Add EXPECT_NO_CRASH 2021-12-19 14:22:06 -08:00
LibTextCodec LibTextCodec+Everywhere: Port Decoders to new Strings 2023-02-19 17:15:47 +01:00
LibThreading Tests: Update thread tests and make them pass 2022-12-11 19:07:20 -07:00
LibTimeZone Tests: Add missing library dependency for LibTimeZone tests 2023-01-19 11:50:10 +00:00
LibTLS Tests+LibTLS: Use TRY_OR_FAIL for TestTLSHandshake 2023-04-11 06:40:33 -04:00
LibTTF Tests: Correct serenity_test() invocation for LibTTF 2023-01-19 11:50:10 +00:00
LibUnicode LibUnicode: Detect ZWJ sequences when filtering by emoji presentation 2023-03-05 20:21:57 +01:00
LibVideo Tests/LibVideo: Test to ensure that VP9 reference vector clamping works 2023-02-08 18:56:42 +00:00
LibWasm Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
LibWeb LibWeb: Use max-width property in table formatting 2023-04-07 10:42:26 +02:00
LibXML Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Spreadsheet Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
UserspaceEmulator Everywhere: Remove unused includes of LibC/stdlib.h 2023-01-02 20:27:20 -05:00
Utilities Tests: Add tests for sed utility 2023-04-09 18:09:23 -06:00
CMakeLists.txt Tests: Add tests for sed utility 2023-04-09 18:09:23 -06:00