[!!!][BUGFIX] Throw exception on invalid charset 71/54471/3
authorMathias Brodala <mbrodala@pagemachine.de>
Wed, 25 Oct 2017 07:45:08 +0000 (09:45 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 30 Oct 2017 16:07:15 +0000 (17:07 +0100)
commitbd4a35ea13807ce5cfb8d53c9c884a3fdb78819f
tree07a924c0532612bf18ca556326bd490155cf6907
parent917d9a5a4dd78615447af8485cfe66f044fec54d
[!!!][BUGFIX] Throw exception on invalid charset

This gives users a clear hint if e.g. config.metaCharset contains
an invalid value instead of showing a blank page.

Change-Id: I9cdb37cc7e61af10e2d1985ef43f488e53b17a48
Resolves: #82852
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/54471
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Wolfgang Klinger <wolfgang@wazum.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Charset/CharsetConverter.php
typo3/sysext/core/Classes/Charset/UnknownCharsetException.php [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Breaking-82852-ExceptionIsThrownOnInvalidCharset.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php