urlencode filename in search result, fixes problems with & in name
This commit is contained in:
parent
366ae6661d
commit
24bb7d16b7
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue