Issue Bug Closed

#105968CSP: Allow blob: and data:

Christian Eßl 01/21/25, 08:00 updated 12/02/25, 14:26

Description

If you add the mutation:

new Mutation(
            MutationMode::Extend,
            Directive::ImgSrc,
            new UriValue('blob:'),
        ),

TYPO3 will throw the exception:

Unsupported scheme "blob"; must be any empty string or in the set (http, https, ws, wss)

But both blob: and data: should be supported for dynamically inserted content.

Reviews 0

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