#55759Using double quotes in title of links breaks everything
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.