summaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
parent0c40a061e4925181101196d379137fb020924980 (diff)
downloadnextcloud-server-939b51e46f23fe6f5991a05862da94bb3adff1ab.tar.gz
nextcloud-server-939b51e46f23fe6f5991a05862da94bb3adff1ab.zip
Fix download url generation
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/fileactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index 0cf4a052225..1cf80352bef 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -157,7 +157,7 @@ $(document).ready(function(){
var downloadScope = 'file';
}
FileActions.register(downloadScope,'Download', OC.PERMISSION_READ, function(){return OC.imagePath('core','actions/download');},function(filename){
- window.location=OC.filePath('files', 'ajax', 'download.php') + '&files='+encodeURIComponent(filename)+'&dir='+encodeURIComponent($('#dir').val());
+ window.location=OC.filePath('files', 'ajax', 'download.php') + '?files='+encodeURIComponent(filename)+'&dir='+encodeURIComponent($('#dir').val());
});
});