Issue Task New Orphaned

#91283Integrate HTTP Sec-Fetch header policy

Oliver Hader 05/03/20, 20:08 updated 05/03/20, 20:08

Description

Example headers:

  • HTTP fetch
    • HTTP_SEC_FETCH_DEST: “empty”
    • HTTP_SEC_FETCH_MODE: “cors”
    • HTTP_SEC_FETCH_SITE: “same-origin”
  • IFRAME fetch
    • HTTP_SEC_FETCH_DEST: “iframe”
    • HTTP_SEC_FETCH_MODE: “navigate”
    • HTTP_SEC_FETCH_SITE: “cross-site”

Resources:

——-

Integrate RequestPolicy and FetchPolicy

$requestPolicy = (new RequestPolicy())
  ->withFetchPolicy((new FetchPolicy())
    ->withAllowedAbsence(bool)
    ->withFetchDest(string[])
    ->withFetchSite(string[])
    ->withFetchUser(string[])
    ->withFetchMode(string[])
  );

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[TASK] Integrate HTTP Sec-Fetch header policy Resolves: #91283 Releases: main