From ce2d88a9517f787b2b640eff300fba736db33ff3 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Fri, 15 Jul 2022 19:05:40 +0200 Subject: [PATCH] MDL-75237 qformat_blackboard_six: Revert MDL-72029 This reverts commit 47c211ba0eec1d33bf5e4c3b9ac9e409a49181bd. --- question/format/blackboard_six/format.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/question/format/blackboard_six/format.php b/question/format/blackboard_six/format.php index 3c5a28f54ce..ddacb205705 100644 --- a/question/format/blackboard_six/format.php +++ b/question/format/blackboard_six/format.php @@ -152,8 +152,7 @@ class qformat_blackboard_six extends qformat_blackboard_six_base { } if ($examfile->getAttribute('type') == 'assessment/x-bb-pool') { if ($examfile->getAttribute('baseurl')) { - $fileobj->filebase = clean_param($this->tempdir . '/' - . $examfile->getAttribute('baseurl'), PARAM_SAFEPATH); + $fileobj->filebase = $this->tempdir. '/' . $examfile->getAttribute('baseurl'); } if ($content = $this->get_filecontent($examfile->getAttribute('file'))) { $fileobj->filetype = self::FILETYPE_POOL;