Skip to content
Snippets Groups Projects
Commit 24bb7d16 authored by Bart Visscher's avatar Bart Visscher
Browse files

urlencode filename in search result, fixes problems with & in name

parent 366ae666
Branches
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ class OC_Search_Provider_File extends OC_Search_Provider{
$name = basename($path);
$text = '';
$path = urlencode($path);
if($mime=='httpd/unix-directory') {
$link = OC_Helper::linkTo( 'files', 'index.php', array('dir' => $path));
$type = 'Files';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment