MDL-59741 auth: Always check the type of iconurls
commit220656e83b2d38a4168f78ec8d9b9ebff9752ebb
authorJuan Leyva <juanleyvadelgado@gmail.com>
Mon, 7 Aug 2017 08:58:37 +0000 (7 10:58 +0200)
committerJuan Leyva <juanleyvadelgado@gmail.com>
Mon, 7 Aug 2017 08:58:37 +0000 (7 10:58 +0200)
tree5c4eae8b3f0316e8d9ef59e4e4c754213ce7683f
parentd509f80c48f4ef49a03ab8396eec869bc7563882
MDL-59741 auth: Always check the type of iconurls

We need to check always if iconurl is an instance of moodle_url to
avoid Web Services returning iconurls from identity providers to fail.
lib/authlib.php