Project

General

Profile

Actions

Task #96003

closed

Epic #87417: Integrate proper Content Security Policy (CSP) handling

Task #87418: Refactor and remove usage of inline scripts in backend

Avoid inline JavaScript in DispatchNotificationHook

Added by Oliver Hader about 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
-
Start date:
2021-11-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

https://github.com/TYPO3/typo3/blob/v11.5.3/typo3/sysext/redirects/Classes/Hooks/DispatchNotificationHook.php#L35-L37

            top.window.require(["TYPO3/CMS/Redirects/EventHandler"], function() {
                top.document.dispatchEvent(new CustomEvent("typo3:redirects:slugChanged", { detail: %s }));
            });

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #96002: Avoid inline JavaScript in backend update signalsClosedOliver Hader2021-11-16

Actions
Related to TYPO3 Core - Bug #96663: Redirect notification broken after upgrade from v11.5.3 to v11.5.5ClosedBenjamin Franzke2022-01-27

Actions
Actions

Also available in: Atom PDF