Issue Bug Closed

#87821Form Framework has problems with Windows Line Endings

Guido Schmechel 03/02/19, 11:24 updated 05/07/19, 12:10

Description

Form Framework stops the output of forms when using Windows Line Endings, e.g. due to a faulty upload. The editor gets no indication and the error is hard to find as an integrator.

To prevent this, chr (13) can be removed from the metadata:
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php#L687

How can you test it?
Just build an simple form yaml config and change the line ending via editor (e.g. PHP Storm) from “LF” to “CRLF”

Reviews 2