moodle/lib/typo3/readme_moodle.txt
Eloy Lafuente (stronk7) 3b69ed2104 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'
2020-04-24 15:56:38 +02:00

31 lines
1.3 KiB
Plaintext

Description of Typo3 libraries (v 4.7.19) import into Moodle
Changes:
1/ hacked relative include of class.t3lib_utility_debug.php
Procedure:
1/ download latest version form http://typo3.org/download/
2/ copy csconvtbl/*, unidata/* and all other necessary files we use
3/ run our phpunit tests with and without mbstring PHP extension
Local changes (to verify/apply with new imports):
- MDL-67316: PHP 7.4 compatibility. Wrong chars in hexdec() operations.
Ensure that all the calls to hexdec() are passing exclusively
correct hex chars. Before php74 they were silently discarded but
with php74 a deprecation warning is produced. We haven't looked how
this is fixed upstream because plans include to remove this
library from core (see MDL-65809)
- MDL-67017: PHP 7.4 compatibility. Curly brackets.
Remove all the deprecated curly bracket uses {} to access to strings/arrays
by key. We haven't looked how this is fixed upstream because plans include
to remove this library from core (see MDL-65809)
- MDL-63967: PHP 7.3 compatibility.
lib/typo3/class.t3lib_div.php: FILTER_FLAG_SCHEME_REQUIRED is deprecated and
implied with FILTER_VALIDATE_URL. This is fixed upstream since Typo 6, with
the file class now under \TYPO3\CMS\Core\Utility\GeneralUtility.
skodak, stronk7, moodler