Skip to content
Snippets Groups Projects
Unverified Commit a7c621f7 authored by Tim Schroeder's avatar Tim Schroeder
Browse files

added support for pdf files with plus signs in their name

parent 40509489
No related branches found
No related tags found
No related merge requests found
......@@ -376,7 +376,7 @@ function pdfannotator_pluginfile($course, $cm, $context, $filearea, $args, $forc
array_shift($args); // Ignore revision - designed to prevent caching problems only.
$fs = get_file_storage();
$relativepath = urldecode(implode('/', $args));
$relativepath = implode('/', $args);
$fullpath = rtrim("/$context->id/mod_pdfannotator/$filearea/0/$relativepath", '/');
do {
if (!$file = $fs->get_file_by_hash(sha1($fullpath))) {
......
......@@ -25,7 +25,7 @@
defined('MOODLE_INTERNAL') || die();
$plugin->component = 'mod_pdfannotator';
$plugin->version = 2021102800;
$plugin->release = 'PDF Annotator v1.4 release 9';
$plugin->version = 2022020800;
$plugin->release = 'PDF Annotator v1.4 release 9+';
$plugin->requires = 2021051700;
$plugin->maturity = MATURITY_STABLE;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment