Bug #33831
Only show data-* attributes when logged in to TYPO3
Status: | Resolved | Start date: | 2012-02-10 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Rens Admiraal | % Done: | 100% |
|
Category: | - | |||
Target version: | - |
Description
The ContentElementWrapping service is adding the data-* attributes to the content elements, without checking if someone is logged in to TYPO3.
This is a problem as it doubles the size of the HTML output, and might be a security risk. We should hide these data attributes when the site is not editable.
Associated revisions
[TASK] Hide data-* attributes in website frontend
The data-* attributes on DOM elements are not needed outside the
backend context, so they should not be visible for a normal
website visitor (and thus minimalizing the HTML source size).
Change-Id: Ieb6c8005d64ea8f0a78ff69512d08fa9837e59b2
Resolves: #33831
History
#1 Updated by Karsten Dambekalns over 3 years ago
- Project changed from Base Distribution to TYPO3.Neos
#2 Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9558
#3 Updated by Rens Admiraal over 3 years ago
- Status changed from New to Under Review
#4 Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9558
#5 Updated by Rens Admiraal over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 30a9e58f5fb00365398e9ec020c73b0dd4611939.