Commit 6b355b5a authored by Chris Graham's avatar Chris Graham

Fixed MANTIS-4200 (Invalid URLs for some File/Media library files)

parent 55d24747
......@@ -153,7 +153,7 @@ class Hook_search_filedump extends FieldsSearchHook
$pre .= $dir . '/';
}
$url = get_custom_base_url() . '/uploads/filedump/' . $_path;
$url = get_custom_base_url() . '/uploads/filedump/' . str_replace('%2F', '/', rawurlencode($_path));
require_code('images');
if (!is_image($url)) {
......
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