diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-12-27 12:35:29 -0500 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-12-27 12:35:29 -0500 |
commit | 95b9f4ed2325240411d4e349277c743aef06de6c (patch) | |
tree | 31162a0eac610a6249b42a6c3bdeae3755a181be /files/js | |
parent | 5bff1c8ad1708cff4a61ef28a62901efc617ef01 (diff) | |
download | nextcloud-server-95b9f4ed2325240411d4e349277c743aef06de6c.tar.gz nextcloud-server-95b9f4ed2325240411d4e349277c743aef06de6c.zip |
Fix folder names with + characters in it
Diffstat (limited to 'files/js')
-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 9e2688e82c1..4b90ab8cf49 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='+$('#dir').val()+'/'+filename; + window.location='index.php?dir='+encodeURIComponent($('#dir').val())+'/'+encodeURIComponent(filename); }); FileActions.setDefault('dir','Open'); |