Project

General

Profile

Bug #55759

Updated by Markus Klein about 9 years ago

h2. Usecase 

 I want to enter a title like 
 @See the "fantanstic\" typolink in action@ 
 The @GeneralUtility::unQuoteFilenames()@ is used for a typolink. 

 h2. Problems 

 * Quotes in titles are not encoded correctly by JS when setting a link-field 
 * For decoding the content of the typolink string (several parts separated by space, enclosed by double-quotes) the method @GeneralUtility::unQuoteFilenames()@ links from content elements. 

 It is used, which does not treat inner quotes. 
 * Output  

 h2. Proposed solution 

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

 The splitting of this string is wrong.

Back