Feature #72648
closedAutomatically remove BOM in css files before concatenation
100%
Description
When css files contain a BOM (https://en.wikipedia.org/wiki/Byte_order_mark), it must be removed. Because when the BOM does not occur on the beginning of a file, it will be interpreted as a normal character, which will make the following css rule invalid.
There is a corresponding warning in the documentation (https://wiki.typo3.org/UTF-8_support#File_system), but the subsequent problems (when a css file contains a BOM) are tricky to track down and even trickier to fix. Because of this I think people will stick with excludeFromConcatenation, or - even worse - with config.concatenateCss = 0
I'll commit a possible solution to gerrit in a moment.
Updated by Gerrit Code Review almost 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45842
Updated by Gerrit Code Review almost 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45842
Updated by Gerrit Code Review almost 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45842
Updated by Gerrit Code Review almost 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45842
Updated by Gerrit Code Review almost 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45842
Updated by Gerrit Code Review almost 9 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45936
Updated by Christian Futterlieb almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e1cea29da1cff9ef8d9d79c25a361b7f57b85694.
Updated by Gerrit Code Review almost 9 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45938
Updated by Gerrit Code Review almost 9 years ago
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45938
Updated by Christian Futterlieb almost 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 1278e9f172653b51da17463bd02ac3488a4a411d.