aboutsummaryrefslogtreecommitdiffstats
path: root/js/lib_files.js
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-08-03 17:35:59 +0200
committerRobin Appelman <icewind1991@gmail.com>2010-08-03 17:35:59 +0200
commit417b1efdca3aeee75bfd27a818328f28d705adfc (patch)
tree2026fc16aa53cba54fcee98cee63125611b7cec1 /js/lib_files.js
parent6642d4af6ff44c92e91e347c8ea392efac28f842 (diff)
downloadnextcloud-server-417b1efdca3aeee75bfd27a818328f28d705adfc.tar.gz
nextcloud-server-417b1efdca3aeee75bfd27a818328f28d705adfc.zip
use encodeURIComponent in more places
Diffstat (limited to 'js/lib_files.js')
-rw-r--r--js/lib_files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib_files.js b/js/lib_files.js
index 68c3c611291..0f601cff65d 100644
--- a/js/lib_files.js
+++ b/js/lib_files.js
@@ -75,7 +75,7 @@ OC_FILES.getdirectorycontent=function(dir,callback,refresh){
OC_FILES.getdirectorycontent_callback=callback;
}
OC_FILES.xmlloader.setCallBack(OC_FILES.getdirectorycontent_parse);
- OC_FILES.xmlloader.load('files/get_files.php?dir='+dir);
+ OC_FILES.xmlloader.load('files/get_files.php?dir='+encodeURIComponent(dir));
}else{
var files=OC_FILES.cache.files
if(OC_FILES.cache.incomplete[OC_FILES.dir]){