MDL-67316 typo3: Pass correct hex chars to hexdec()
commit3b69ed2104105dcdec5463573fed43e5036d1836
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 20 Nov 2019 14:17:40 +0000 (20 15:17 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 24 Apr 2020 13:56:38 +0000 (24 15:56 +0200)
tree2d37afbbe9cdbc80eafa2e63914bada40e1604a0
parent9df4a4de18ace8fa1e02b93d6f0e572fa20ef1a2
MDL-67316 typo3: Pass correct hex chars to hexdec()

Typo3 was relaying on the feature of base converter
functions silently removing invalid chars so, for example:

'U+00A0' => '00A0' => 160

Since php74, the existence of those invalid chars do produce
a deprecation warning, no matter the outcome continues being the same.

So, here, we are just converting that invalud 'U+' by '0x'
lib/typo3/class.t3lib_cs.php
lib/typo3/readme_moodle.txt