-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.7, 3.7.8, 3.8.4, 3.8.5, 3.9.1, 3.9.2, 3.10
-
MOODLE_310_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
The LTI Names and Roles Provisioning Service should return a correctly formatted Link header whenever it needs to inform a Tool Provider of the existence of additional Member pages.
The correct Link header format according to RFC8288 is :
- Link: <https://lms.example.com/sections/2923/memberships?p=2>; rel="next"
Moodle's current Link header format is:
Most link header parsers respect the specification, which causes Moodle's Names and Roles Link headers to be discarded, preventing the access to multiple Member pages.
The fix is very simple and only involves one line of code: https://github.com/moodle/moodle/compare/master...Cvmcosta:MDL-69375