summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-12-27 12:43:58 -0500
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-12-27 12:43:58 -0500
commit1cddfe8820b37eeca5c814ea9a48ebd3abab23ea (patch)
treec3fd512357e508b095d93712f845c9c0654a9ef0 /files
parent95b9f4ed2325240411d4e349277c743aef06de6c (diff)
downloadnextcloud-server-1cddfe8820b37eeca5c814ea9a48ebd3abab23ea.tar.gz
nextcloud-server-1cddfe8820b37eeca5c814ea9a48ebd3abab23ea.zip
Keep the urls pretty, decode forward slashes
Diffstat (limited to 'files')
-rw-r--r--files/js/fileactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/js/fileactions.js b/files/js/fileactions.js
index 4b90ab8cf49..6f0729e43b6 100644
--- a/files/js/fileactions.js
+++ b/files/js/fileactions.js
@@ -137,7 +137,7 @@ FileActions.register('all','Rename',function(){return OC.imagePath('core','actio
});
FileActions.register('dir','Open','',function(filename){
- window.location='index.php?dir='+encodeURIComponent($('#dir').val())+'/'+encodeURIComponent(filename);
+ window.location='index.php?dir='+encodeURIComponent($('#dir').val()).replace(/%2F/g, '/')+'/'+encodeURIComponent(filename);
});
FileActions.setDefault('dir','Open');