Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.6, 3.7.3, 3.8
-
Component/s: Privacy
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
Fixed Branches:MOODLE_37_STABLE, MOODLE_38_STABLE
-
Pull from Repository:
-
Pull 3.8 Branch:
MDL-64695-38 -
Pull Master Branch:
-
Pull Master Diff URL:
Description
In our Moodle installation, $SITE->fullname contains multilang tags (for the german and english site name).
We have noticed that tool_dataprivacy doesn't filter these multilang tags. As a result, the multilang tags are still there in the mail notifications which are sent for data requests (e.g. https://github.com/moodle/moodle/blob/master/admin/tool/dataprivacy/classes/task/process_data_request_task.php#L179) as well as in the data export's index.html
My proposal is to replace all occurences of $SITE->fullname with filter_string($SITE->fullname)