Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.11.4, 4.0.1
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_401_STABLE
-
MDL-73435-master -
Description
Change in PHP8.1 (see https://github.com/php/php-src/blob/PHP-8.1/UPGRADING )
htmlspecialchars(), htmlentities(), htmlspecialchars_decode(),
|
html_entity_decode() and get_html_translation_table() now use
|
ENT_QUOTES | ENT_SUBSTITUTE rather than ENT_COMPAT by default. This means
|
that ' is escaped to ' while previously it was left alone.
|