-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.3, 4.4
-
MOODLE_403_STABLE, MOODLE_404_STABLE
Discovered while testing MDLQA-18904
The unexpected HTML tags get generated when we intentionally changed the PUBLIC KEY and save it.
Steps to reproduce:
Setup a couple of Moodle sites:
- Site1 running older version, for example: Moodle 4.3.x (MOODLE_403_STABLE).
- Site2 running the version to be released (master - Moodle 4.4).
- Ensure that they have different $CFG->sessioncookiepath setting either on config.php or in Administration > Server > Session handling
- In both sites, enable and configure configure MNet as explained in the doc page.
- In both sites, go to Site admin > Security > HTTP security then delete everything in "cURL blocked hosts list"
- Please note: You don't need to configure the "remote enrolments" steps, only the "get users roaming" ones.
Testing
- Login as admin to either site1 or site2
- Go to Site admin > Networking > Manage peers
- Put URL of site2 in "Hostname" then click on "Add host" and Save changes
- Try to modify the Public key by adding or deleting some characters and Save changes
- Verify that you were redirected to "Services" page then view source code
- Verify that you see ul HTML tag were rendered outside the open/close html tag like the following screenshot
- Discovered while testing
-
MDLQA-18904 CLONE - Moodle sites can connect using MNet and SSL keys
-
- Passed
-