Skip to content

Commit

Permalink
Merge pull request #541 from VeliovGroup/dev
Browse files Browse the repository at this point in the history
v1.9.5
  • Loading branch information
dr-dimitru authored Dec 18, 2017
2 parents 376e46e + 849e5fd commit 93747a6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .npm/package/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .versions
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ [email protected]
[email protected]
[email protected]
ostrio:[email protected]
ostrio:[email protected].4
ostrio:[email protected].5
[email protected]
[email protected]
[email protected]
Expand Down
4 changes: 2 additions & 2 deletions package.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Package.describe({
name: 'ostrio:files',
version: '1.9.4',
version: '1.9.5',
summary: 'File upload via DDP/HTTP to server, 3rd party storage support: AWS S3, GridFS, DropBox and others',
git: 'https://github.com/VeliovGroup/Meteor-Files',
documentation: 'README.md'
});

Npm.depends({
'fs-extra': '4.0.3',
'fs-extra': '5.0.0',
'request': '2.83.0',
'file-type': '7.4.0',
'eventemitter3': '3.0.0'
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@ export class FilesCollection extends FilesCollectionCore {
dispositionType = 'inline; ';
}

const dispositionName = `filename=\"${encodeURI(vRef.name || fileRef.name)}\"; filename*=UTF-8''${encodeURI(vRef.name || fileRef.name)}; `;
const dispositionName = `filename=\"${encodeURI(vRef.name || fileRef.name).replace(/\,/g, '%2C')}\"; filename*=UTF-8''${encodeURIComponent(vRef.name || fileRef.name)}; `;
const dispositionEncoding = 'charset=UTF-8';

if (!http.response.headersSent) {
Expand Down

0 comments on commit 93747a6

Please sign in to comment.