-
Bug
-
Resolution: Fixed
-
Minor
-
3.2.2, 3.3, 3.4
-
MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
wip-
MDL-59136-master -
Moderate
-
- Create (or rename) a role so it has special characters in the name ( & , quotes, etc.)
- As admin select "Switch role to" from the user menu
- Make sure role name is displayed correctly
In /course/switchrole.php, the names of the roles appear to be HTML-quoted twice.
To reproduce:
- Create a role called "Library & Information Services"
- Go to switch role
- Confirm that the role is displayed as "Library & Information Services" and in the HTML source is "Library & Information Services"