#110601Directive "strict-dynamic" not allowed for hash based Content Security Policy (CSP)
Description
In TYPO3, the directive “strict-dynamic” is not allowed when using a hash based instead of nonce based CSP.
According to the MDN documentation, and others, it should be allowed for hash based CSP as well:
> The ‘strict-dynamic’ source expression specifies that the trust explicitly given to a script present in the markup, by accompanying it with a nonce or a hash , shall be propagated to all the scripts loaded by that root script. At the same time, any allowlist or source expressions such as ‘self’ or ‘unsafe-inline’ will be ignored.
In TYPO3 the directive is only allowed when using nonces, which is not right.
Reviews 1
History 25
-
Gerrit Code Review pushed patch set 1 for main to change 95569 status
NewUnder Review <span data-processor="relativetime" data-value="2026-09-02T15:33:05+00:00" > 09/02/26, 15:33 </span> -
Garvin Hicking commented <span data-processor="relativetime" data-value="2026-09-02T15:33:46+00:00" > 09/02/26, 15:33 </span>
-
Patrick Broens commented <span data-processor="relativetime" data-value="2026-09-03T09:49:42+00:00" > 09/03/26, 09:49 </span>
@ghi Thanks for your work. It is working for me
-
Gerrit Code Review pushed patch set 2 for main to change 95569 <span data-processor="relativetime" data-value="2026-09-03T11:12:26+00:00" > 09/03/26, 11:12 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 95569 <span data-processor="relativetime" data-value="2026-10-01T07:55:43+00:00" > 10/01/26, 07:55 </span>
@patrick Could you have a look at the attached patch if that improves the situation for you?