1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 22:41:00 +00:00
serenity/Userland
Idan Horowitz 497dd5b354 LibWeb: Set response header cookies on redirects
Since we were previously relying on Document::set_cookie in order to
set cookies received as a 'Set-Cookie' response header, we would ignore
any response header cookies in redirect (status code 3xx) responses.

While this behaviour is not strictly enforced in the specification,
most major browsers do set cookies in redirect responses, and some
sites (e.g. Cookie Clicker) rely on this behaviour.

Since cookies are stored per-site and not per-document, this behaviour
is achieved by simply decoupling the cookie set mechanism from it.
2022-02-12 16:15:56 +00:00
..
Applets LibConfig: Rename pledge_domains(String) => pledge_domain(String) 2022-02-11 18:06:39 +01:00
Applications FileManager: Add F6 alternate shortcut to "location" action 2022-02-12 09:06:23 -05:00
Demos Meta+Userland: Run the GML formatter on CI and pre-commit 2022-02-07 18:39:50 +01:00
DevTools HackStudio: Put the Build directory inside the Serenity repository 2022-02-12 11:51:48 +01:00
DynamicLoader DynamicLoader+LibC+LibTimeZone: Include LibTimeZone sources in LibC 2022-01-23 12:48:26 +00:00
Games LibConfig: Rename pledge_domains(String) => pledge_domain(String) 2022-02-11 18:06:39 +01:00
Libraries LibWeb: Set response header cookies on redirects 2022-02-12 16:15:56 +00:00
Services LibConfig: Rename pledge_domains(String) => pledge_domain(String) 2022-02-11 18:06:39 +01:00
Shell Shell: Use strncmp() instead of string.compare() for name completions 2022-02-05 16:59:12 +03:30
Utilities kill: Parse CLI arguments using Arguments.strings 2022-02-12 10:53:07 -05:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00