mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 16:00:13 +01:00
Fixed Non-ASCII attachment filename will crash when downloading.
Thanks to xet7 ! Fixes #2759
This commit is contained in:
parent
843ff8eaaa
commit
c2da477735
277 changed files with 30568 additions and 52 deletions
10
packages/wekan-cfs-filesystem/filesystem.client.js
Normal file
10
packages/wekan-cfs-filesystem/filesystem.client.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// On the client we have just a shell
|
||||
FS.Store.FileSystem = function(name, options) {
|
||||
var self = this;
|
||||
if (!(self instanceof FS.Store.FileSystem))
|
||||
throw new Error('FS.Store.FileSystem missing keyword "new"');
|
||||
|
||||
return new FS.StorageAdapter(name, options, {
|
||||
typeName: 'storage.filesystem'
|
||||
});
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue