Commit 2648522e authored by David Monllaó's avatar David Monllaó
Browse files

Merge branch 'MDL-50884-28' of git://github.com/lameze/moodle into MOODLE_28_STABLE

parents 3e08b5c0 59d26c45
......@@ -210,7 +210,8 @@ class auth_plugin_shibboleth extends auth_plugin_base {
}
// Overwrite redirect in order to send user to Shibboleth logout page and let him return back
$redirect = $this->config->logout_handler.'?return='.urlencode($temp_redirect);
$redirecturl = new moodle_url($this->config->logout_handler, array('return' => $temp_redirect));
$redirect = $redirecturl->out();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment