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,34 @@
Package.describe({
git: 'https://github.com/zcfs/Meteor-http-publish.git',
name: 'wekan-cfs-http-publish',
version: '0.0.13',
summary: 'Adds HTTP.publish and HTTP.unpublish RESTful'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
api.use(['webapp', 'underscore', 'ejson', 'random'], 'server');
api.use('wekan-cfs-http-methods@0.0.27');
api.imply && api.imply('wekan-cfs-http-methods');
api.export && api.export('_publishHTTP', { testOnly: true });
api.addFiles('http.publish.client.api.js', 'client');
api.addFiles('http.publish.server.api.js', 'server');
});
Package.onTest(function (api) {
api.use('wekan-cfs-http-publish', ['client', 'server']);
api.use('test-helpers', ['client', 'server']);
api.use('http', 'client');
api.use(['tinytest', 'underscore', 'ejson', 'ordered-dict',
'random', 'deps']);
api.addFiles('http.publish.tests.server.js', 'server');
api.addFiles('http.publish.tests.client.js', 'client');
});