summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-10-27 15:10:21 +0200
committerBart Visscher <bartv@thisnet.nl>2012-10-27 15:10:21 +0200
commit939b51e46f23fe6f5991a05862da94bb3adff1ab (patch)
tree1a0848793e8a5f4e5d01cac59a93bf8249a667ed /core
parent0c40a061e4925181101196d379137fb020924980 (diff)
downloadnextcloud-server-939b51e46f23fe6f5991a05862da94bb3adff1ab.tar.gz
nextcloud-server-939b51e46f23fe6f5991a05862da94bb3adff1ab.zip
Fix download url generation
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 130d413296e..6ed50b42bd5 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -62,7 +62,7 @@ function escapeHTML(s) {
* @return string
*/
function fileDownloadPath(dir, file) {
- return OC.filePath('files', 'ajax', 'download.php')+'&files='+encodeURIComponent(file)+'&dir='+encodeURIComponent(dir);
+ return OC.filePath('files', 'ajax', 'download.php')+'?files='+encodeURIComponent(file)+'&dir='+encodeURIComponent(dir);
}
var OC={