diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-12-27 12:43:58 -0500 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-12-27 12:43:58 -0500 |
commit | 1cddfe8820b37eeca5c814ea9a48ebd3abab23ea (patch) | |
tree | c3fd512357e508b095d93712f845c9c0654a9ef0 /files | |
parent | 95b9f4ed2325240411d4e349277c743aef06de6c (diff) | |
download | nextcloud-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.js | 2 |
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'); |