Project

General

Profile

Actions

Bug #80238

closed

f:translate double escapes default values

Added by Frans Saris about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2017-03-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

<f:translate key="widget.pagination.next">&raquo;</f:translate>

When the key widget.pagination.next isn't found and the fallback/default value is used this gets double escaped.

So output is &amp;raquo; instead of &raquo;

Same for html tags:

<f:translate key="widget.pagination.next" htmlEscape="1"><p>hello world</p></f:translate>

Output in TYPO3 7.6 <p>hello world</p>

Output in TYPO3 8.6 &lt;p&gt;hello world&lt;/p&gt;


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #75575: Streamline escaping for ViewHelpers of all sysextsClosedBenni Mack2016-04-13

Actions
Actions #1

Updated by Gerrit Code Review about 7 years 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/52012

Actions #2

Updated by Frans Saris about 7 years ago

  • Description updated (diff)
Actions #3

Updated by Frans Saris about 7 years ago

  • Description updated (diff)
Actions #4

Updated by Gerrit Code Review about 7 years 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/52012

Actions #5

Updated by Gerrit Code Review about 7 years 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/52012

Actions #6

Updated by Claus Due about 7 years ago

See https://github.com/TYPO3/Fluid/pull/270 for an explanation. This cannot be solved until a solution is made for handling escaping of individual arguments.

Actions #7

Updated by Georg Ringer over 6 years ago

  • Status changed from Under Review to Closed

impossible to fix, therefore closed.

Actions

Also available in: Atom PDF