Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/modules/migration/partials/migration-guide-26.2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -645,3 +645,11 @@ propertyName === 'value'[\s\S]*?\{[\s\S]*?\bthrow\b[\s\S]*?\}
These expressions are intended as a best-effort search and may not find every occurrence.

We do not expect many affected cases, as using a `ValueFieldValidator` has always been the recommended approach.

== Content Security Policy

Following the https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/object-src[MDN recommendation], the content security policy directive `object-src` has been changed from `self` to `none` by default.

If still using `object-src`, consider moving to more modern alternatives like `<video>`, `<audio>`, `<img>` for e.g. SVG or `<iframe>` using a sandbox.

If you really need `object-src`, add the corresponding directive to the `scout.cspDirectiveAppend` config property (in your `config.properties` file or the environment variable).
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ Scout uses the following CSP settings:
.. `manifest-src`: `'self'`
.. `manifest-src`: `'self'`
.. `media-src`: `'self'`
.. `object-src`: `'self'`
.. `worker-src`: `'self'`
--
+
Expand Down