Feature #90264

form: DatePickerViewHelper is using inline js

Added by Christian Eßl 25 days ago. Updated 9 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2020-01-31
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The DatePickerViewHelper in ext:form can render inline javascript in the frontend by calling:

$this->getPageRenderer()->addJsFooterInlineCode(...);

This can lead to problems in many cases (like when using a Content Security Policy that disallows inline js).
An alternative solution, that can also include the js as a file, is required.

History

#1 Updated by Gerrit Code Review 9 days 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/+/63263

#2 Updated by Gerrit Code Review 9 days 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/+/63263

#3 Updated by Gerrit Code Review 9 days 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/+/63263

Also available in: Atom PDF