MDL-36838 moodle->mahara mnet SSO failure in FF17
authorPeter Bulmer <peter.bulmer@catalyst.net.nz>
Tue, 27 Nov 2012 02:31:24 +0000 (15:31 +1300)
committerPeter Bulmer <peter.bulmer@catalyst.net.nz>
Tue, 27 Nov 2012 03:19:38 +0000 (16:19 +1300)
commit166d3b60d33eee6e162d53ff97a45a7f3a10df23
treec25b933712f21fa6ba4c246239e546635376f38f
parent5f1d8f2a8f5dbe73e842157d7e24965d33217faa
MDL-36838 moodle->mahara mnet SSO failure in FF17

In MDL-36838 Firefox 17 users are unable to sso from moodle to mahara.

Firefox 17 uses a different user agent (UA) string for Moodle sites than it
does for Mahara or other sites.
This patch relaxes the check which previously required that the UA string
being presented to the SP on landing matched the UA string presented to the IP
when jumping.
Likewise, checks associated with logout calls have been relaxed
auth/mnet/auth.php