Fixed Non-ASCII attachment filename will crash when downloading.

Thanks to xet7 !

Fixes #2759
This commit is contained in:
Lauri Ojansivu 2021-04-29 13:26:49 +03:00
parent 843ff8eaaa
commit c2da477735
277 changed files with 30568 additions and 52 deletions

View file

@ -0,0 +1,55 @@
Package.describe({
git: 'https://github.com/zcfs/Meteor-cfs-file.git',
name: 'wekan-cfs-file',
version: '0.1.17',
summary: 'CollectionFS, FS.File object'
});
Npm.depends({
temp: "0.7.0" // for tests only
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
// This imply is needed for tests, and is technically probably correct anyway.
api.imply([
'wekan-cfs-base-package@0.0.30'
]);
api.use([
'wekan-cfs-base-package@0.0.30',
'wekan-cfs-storage-adapter@0.2.1',
'tracker',
'check',
'ddp',
'mongo',
'http',
'wekan-cfs-data-man@0.0.6',
'raix:eventemitter@0.1.1'
]);
api.addFiles([
'fsFile-common.js'
], 'client');
api.addFiles([
'fsFile-common.js',
'fsFile-server.js'
], 'server');
});
Package.onTest(function (api) {
api.use([
'wekan-cfs-standard-packages@0.0.0',
'wekan-cfs-gridfs@0.0.0',
'tinytest@1.0.0',
'http@1.0.0',
'test-helpers@1.0.0',
'wekan-cfs-http-methods@0.0.29'
]);
api.addFiles([
'tests/file-tests.js'
]);
});