-
Notifications
You must be signed in to change notification settings - Fork 646
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SECURITY] Encode link text properly in typolink
If the to be linked text is empty the ContentObjectRenderer chooses an appropriate link text but doesn't encode it properly. As hsc() was abandoned before this patch adds the parseFunc functionality to keep common html tags which might be used by the editor but escapes unknown characters and tags. Resolves: #34107 Releases: master, 6.2 Security-Bulletin: TYPO3-CORE-SA-2015-004 Change-Id: I9a1442932c47032e3135f05b0994efe16689cdea Reviewed-on: http://review.typo3.org/40814 Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org> Tested-by: Helmut Hummel <helmut.hummel@typo3.org> Reviewed-by: Benjamin Mack <benni@typo3.org> Tested-by: Benjamin Mack <benni@typo3.org>
- Loading branch information
1 parent
128d241
commit d7feb40
Showing
2 changed files
with
67 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters