Task #96003

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 6 months ago. Updated 6 months ago.

Status:
Resolved
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

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

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

Actions
#1

Updated by Oliver Hader 6 months ago

  • Related to Task #96002: Avoid inline JavaScript in backend update signals added
#2

Updated by Georg Ringer 6 months ago

  • Status changed from New to Accepted
#3

Updated by Gerrit Code Review 6 months ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72206

#4

Updated by Gerrit Code Review 6 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72206

#5

Updated by Gerrit Code Review 6 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72206

#6

Updated by Oliver Hader 6 months ago

  • Assignee set to Oliver Hader
#7

Updated by Gerrit Code Review 6 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72206

#8

Updated by Oliver Hader 6 months ago

  • Description updated (diff)
#9

Updated by Gerrit Code Review 6 months ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72240

#10

Updated by Gerrit Code Review 6 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72240

#11

Updated by Gerrit Code Review 6 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72240

#12

Updated by Gerrit Code Review 6 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72240

#13

Updated by Gerrit Code Review 6 months ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72262

#14

Updated by Oliver Hader 6 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#15

Updated by Benjamin Franzke 4 months ago

  • Related to Bug #96663: Redirect notification broken after upgrade from v11.5.3 to v11.5.5 added

Also available in: Atom PDF