xperseguers / t3ext-image_autoresize

TYPO3 Extension image_autoresize. Simplify the way your editors may upload their images.
https://extensions.typo3.org/extension/image_autoresize
GNU General Public License v3.0
16 stars 22 forks source link

Changes in ExtensionManagerEventListener cause CSP error #83

Closed jpgreth closed 6 months ago

jpgreth commented 1 year ago

When using the latest 2.2.1 with CMS 12.4.5 and activated backend CSP. The inline script in \Causal\ImageAutoresize\EventListener\ExtensionManagerEventListener causes a CSP-error.

CSP Error

This should not happen.

Desired Solution: Neither add a CSP-configuration for the extension, nor remove the script part

xperseguers commented 10 months ago

Please suggest a CSP-configuration.

xperseguers commented 6 months ago

Info to reproduce:

  1. To enable CSP for an existing install, make sure to toggle on [SYS][features][security.backend.enforceContentSecurityPolicy]
  2. Go to Extension Manager
  3. Either check the console or use the Backend module Admin Tools > Content Security Policy