Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.14, 2.0, 2.1, 2.1.2
-
Component/s: MNet
-
Labels:
-
Database:Any
-
Testing Instructions:
-
Affected Branches:MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE
-
Fixed Branches:MOODLE_20_STABLE, MOODLE_21_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-30042-master-1
Description
The hostwwwroot parameter in auth/mnet/jump.php is not stripped of the trailing slash.
In admin/mnet/peers.php (around line 81), the wwwroot parameter has the following done to it:
- Trimmed of whitespace
- Trimmed of trailing slashes
- http:// Added if not starting with http
I propose that auth/mnet/jump.php also does the same. Especially as the wwwroot that comes from mahara has a trailing slash with it.