From 1cddfe8820b37eeca5c814ea9a48ebd3abab23ea Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Tue, 27 Dec 2011 12:43:58 -0500 Subject: [PATCH] Keep the urls pretty, decode forward slashes --- files/js/fileactions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');