-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.9.6
-
MOODLE_39_STABLE
Steps to reproduce
- Login as admin.
- Go to "Site administration > Badges > Manage backpacks".
- Fill in:
- Backpack API URL: https://dc.imsglobal.org
- Backpack URL: https://dc.imsglobal.org (add an extra space after .org)
- Save changes
Expected behaviour
URL is trimmed and the backpack is created.
Current behaviour
The following error is displayed: "You must supply a value here."
This is not happening only in this form. Any other form with PARAM_URL will face the same issue (for instance, Site administration > Server > OAuth 2 services).
This also happens for leading spaces.