https://bugzilla.wikimedia.org/show_bug.cgi?id=46873
Web browser: ---
Bug ID: 46873
Summary: strip trailing spaces from enrolment token
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: EducationProgram
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
If an instructor accidentally includes trailing spaces in an enrolment token,
this can cause confusion and also is not handled correctly by the course page.
For users with the relevant user rights, the enrolment token is visible in the
Summary table of a course page, and it links straight to enrolment using that
token. However, trailing spaces are not visible do not work through the link,
so clicking the link results in an invalid token error. And it is not very
apparent to users why the token is incorrect, as cutting and pasting or
entering it manually will not include the trailing space either.
I suggest that whitespace simply be stripped off of any enrolment token upon
course page creation/update.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l