summaryrefslogtreecommitdiffstats
path: root/lib/search
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-28 22:27:52 +0200
committerBart Visscher <bartv@thisnet.nl>2012-09-28 22:27:52 +0200
commit22d22d19c079f54cf12a6b47981c22aa1432346d (patch)
treed7f477c28a6e8d56d2edb842a28679a97b4e88a6 /lib/search
parentfed34aecfa5b36c031ed754ed245549aa4a4194b (diff)
downloadnextcloud-server-22d22d19c079f54cf12a6b47981c22aa1432346d.tar.gz
nextcloud-server-22d22d19c079f54cf12a6b47981c22aa1432346d.zip
Do urlencoding in linkTo functions
Diffstat (limited to 'lib/search')
-rw-r--r--lib/search/provider/file.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/search/provider/file.php b/lib/search/provider/file.php
index 21fae0c1ce5..e21278f3918 100644
--- a/lib/search/provider/file.php
+++ b/lib/search/provider/file.php
@@ -10,7 +10,6 @@ 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';