Skip to content

Problem on https://docs.typo3.org/m/typo3/reference-coreapi/13.4/en-us//ApiOverview/RequestLifeCycle/RequestAttributes/Nonce.html #6278

@fnagel

Description

@fnagel

Current behavior

Nonce is not created as the "nonce" attribute is not of type ConsumableString

Expected behavior/output

As the attribute is of type TYPO3\CMS\Core\Security\ContentSecurityPolicy\ConsumableNonce we need to check for this class.

TYPO3 versions

Tested in TYPO3 v13.4.21

Possible Solution

Change the imported class to TYPO3\CMS\Core\Security\ContentSecurityPolicy\ConsumableNonce

This has been changed in:
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/13.4.x/Important-107062-AvoidApplyingContent-Security-PolicyNonceSourcesWhenNotRequired.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions