Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Verified Commit 22bce364 authored by David Beniamine's avatar David Beniamine
Browse files

Use param raw as base64 can contain non alphanum chars

parent d4a69e07
......@@ -11,7 +11,7 @@ use mod_labnbook\fetch;
require_once \dirname(__DIR__, 2) . '/config.php';
$returnUrl = \base64_decode(required_param('return', PARAM_ALPHANUM));
$returnUrl = \base64_decode(required_param('return', PARAM_RAW));
$courseid = required_param('courseid', PARAM_INT);
$course = $DB->get_record('course', ['id' => $courseid], '*', MUST_EXIST);
......
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