mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
LibWeb/ReferrerPolicy: Add spec link for strip URL AO
This commit is contained in:
parent
8542a8b458
commit
5a40a00d9e
Notes:
sideshowbarker
2024-07-17 02:28:18 +09:00
Author: https://github.com/jamierocks Commit: https://github.com/LadybirdBrowser/ladybird/commit/5a40a00d9e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/23
@ -164,6 +164,7 @@ Optional<URL::URL> determine_requests_referrer(Fetch::Infrastructure::Request co
|
||||
}
|
||||
}
|
||||
|
||||
// https://w3c.github.io/webappsec-referrer-policy/#strip-url
|
||||
Optional<URL::URL> strip_url_for_use_as_referrer(Optional<URL::URL> url, OriginOnly origin_only)
|
||||
{
|
||||
// 1. If url is null, return no referrer.
|
||||
|
Loading…
Reference in New Issue
Block a user