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:17:43 +0000 (16:17 +1300)
commit1c65f683dc0a52e47fdf68e952c832d7c63e03a0
treeaa4ea1e53b9bf93f686a584d06423c0a8c98203e
parentf42c34a38a51de6f6202de430df9cdb9fcee6fe2
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