Review main Merged

78473[BUGFIX] Add frontend preview URL to CSP frame-src directive

Oliver Hader CR +2 V +2 Normal +86 −3 updated 04/06/23, 07:51

Commit message

Add the URL of the page to be shown in web > view backend module to
the `frame-src` directive of the Content-Security-Policy. This is
required in case the backend URL is different to the frontend URL
that shall be used to preview that page.

The new registry service `PolicyRegistry` is introduced to collect
temporary adjustments to the Content-Security-Policy, which are
applied in the central `PolicyProvider`.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 4