diff --git a/cache/stores/file/addinstanceform.php b/cache/stores/file/addinstanceform.php index 0533ff34da8..a2f3c3a9d46 100644 --- a/cache/stores/file/addinstanceform.php +++ b/cache/stores/file/addinstanceform.php @@ -43,7 +43,7 @@ class cachestore_file_addinstance_form extends cachestore_addinstance_form { $form = $this->_form; $form->addElement('text', 'path', get_string('path', 'cachestore_file')); - $form->setType('path', PARAM_SAFEPATH); + $form->setType('path', PARAM_RAW); $form->addHelpButton('path', 'path', 'cachestore_file'); $form->addElement('checkbox', 'autocreate', get_string('autocreate', 'cachestore_file'));