urlencode filename in search result, fixes problems with & in name
This commit is contained in:
parent
366ae6661d
commit
24bb7d16b7
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue