[!!!][TASK] Allow quotes in titles of typolink 62/40162/12
authorMarkus Klein <markus.klein@typo3.org>
Wed, 10 Jun 2015 22:59:34 +0000 (00:59 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 29 Jun 2015 19:59:52 +0000 (21:59 +0200)
commit591d86aad2917ef5ff936e597f158db31789908f
tree136b7ca3de933d45508ddbd93e5cb17693459d25
parent4c0c7524150ccbb20d5bf6fae0b3a236b55cdc72
[!!!][TASK] Allow quotes in titles of typolink

Introduce proper handling of quotes in titles of typolinks.

Example title: 'Here "I\\" am'
Expected link field value: '15 - - "Here \"I\\\\\" am"'

Do not use the GeneralUtility::unQuoteFilenames() method anymore, since
it was not made for the purpose to decode CSV-like strings.
Use the newly introduced TypoLinkCodecService instead.

Resolves: #55759
Releases: master
Change-Id: Iea612842b4b9c70924ecf56b87513350dd9383a8
Reviewed-on: http://review.typo3.org/40162
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
14 files changed:
typo3/sysext/core/Classes/Database/SoftReferenceIndex.php
typo3/sysext/core/Classes/Html/RteHtmlParser.php
typo3/sysext/core/Classes/Utility/GeneralUtility.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-55759-HTMLInLinkTitlesNotWorkingAnymore.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
typo3/sysext/fluid/Classes/ViewHelpers/Link/TypolinkViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Uri/TypolinkViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/TypolinkViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/TypolinkViewHelperTest.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/impexp/Tests/Functional/Fixtures/ImportExportXml/pages-and-ttcontent-with-rte-image-n-file-link.xml
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLink/DataSet/Assertion/importPagesAndRelatedTtContentWithRteImagesAndFileLink.csv
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
typo3/sysext/rtehtmlarea/Classes/BrowseLinks.php