Task #95896

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

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

Remove inline JavaScript in ViewModule

Added by Torben Hansen 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
Security
Target version:
-
Start date:
2021-11-07
Due date:
% Done:

100%

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

Description

The refresh button in the ViewModuleController uses inline JavaScript as shown below

javascript:document.getElementById(\'tx_viewpage_iframe\').contentWindow.location.reload(true);

This can be moved to the existing external JavaScript file for that module.

#1

Updated by Torben Hansen 6 months ago

  • Parent task set to #87418
#2

Updated by Gerrit Code Review 6 months ago

  • Status changed from New 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/+/72073

#3

Updated by Torben Hansen 6 months ago

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

Also available in: Atom PDF