Task #100534
closedAvoid PHP deprecation in CSP report
100%
Description
When using the new backend module "Content Security Policy" with PHP 8.2, the following deprecation is given:
PHP Runtime Deprecation Notice: Use of "self" in callables is deprecated in /var/www/html/vendor/typo3/cms-core/Classes/Security/ContentSecurityPolicy/Reporting/Report.php line 41
Solution: replace 'self::toCamelCase'
with self::class . '::toCamelCase'
See also: https://wiki.php.net/rfc/deprecate_partially_supported_callables#backward_incompatible_changes
Updated by Chris Müller almost 2 years ago
- Related to Feature #87423: Integrate CSP management module added
Updated by Chris Müller almost 2 years ago
- Related to Feature #99499: Introduce Content Security Policy handling added
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78544
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78544
Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78544
Updated by Oliver Hader almost 2 years ago
- Related to deleted (Feature #87423: Integrate CSP management module)
Updated by Gerrit Code Review almost 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78544
Updated by Chris Müller almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f6e2ee018fd7f9fe92e27a257917c502a2d63994.