这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@yalanyali
Copy link

Fixed "The header content contains invalid characters" error thrown by Express on non-ascii filenames according to:
https://tools.ietf.org/html/rfc6266#section-6

Fixed "The header content contains invalid characters" error thrown by Express on non-ascii filenames according to:
https://tools.ietf.org/html/rfc6266#section-6
@thrackle
Copy link
Owner

thrackle commented Apr 10, 2018

Thanks for the patch, @yalanyali! Looks like the tests are failing. If you want to resolve those I can merge, and/or I'll make a note to circle back and try to get those written and this merged a little later.

@yalanyali
Copy link
Author

Well, I've changed the content-disposition string to support UTF-8 characters. Tests are failing because they're expecting a certain match. I'd have to change the tests in order for them to not fail, which is something I wouldn't do. I've been using my own branch of this library on my project and I feel like it's a decision the maintainer should make, so it's up to you. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants