Project

General

Profile

Actions

Bug #55759

closed

Using double quotes in title of links breaks everything

Added by Markus Klein over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend API
Target version:
Start date:
2014-02-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

Usecase

I want to enter a title like
See the "fantanstic\" typolink in action
for a typolink.

Problems

  • Quotes in titles are not encoded correctly by JS when setting a link-field
  • For decoding of the typolink string (several parts separated by space, enclosed by double-quotes) the method GeneralUtility::unQuoteFilenames() is used, which does not treat inner quotes.
  • Output is not hsc()'d, hence the double quotes kill the FE output.

Proposed solution

Make this a breaking change for CMS 7 and treat the quotes properly in all place.
Additionally maybe provide an upgrade wizard, which converts existing titles like
See the "fantanstic\" typolink in action
to the normal readable version for humans.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #51943: Quotes in RTE link title break HTML outputClosed2013-09-12

Actions
Follows TYPO3 Core - Bug #41413: link title got urlencoded in link-wizardClosed2012-09-27

Actions
Actions

Also available in: Atom PDF