Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect name of downloaded binary file if attribute filename in content-disposition header contains quotes #724

Closed
salkrr opened this issue Apr 18, 2022 · 1 comment

Comments

@salkrr
Copy link

salkrr commented Apr 18, 2022

I'm using version 9.2.0. Header: content-disposition: attachment; filename="data.xlsx". Name of downloaded file: _data.xlsx_.

This is the same issue as #501 and #609. Seems like current solution doesn't work because regex is incorrect. The solution then is to replace /\\"/g with /\"/g or /"/g.

@mrin9 mrin9 closed this as completed in 1460dcb Apr 18, 2022
@salkrr
Copy link
Author

salkrr commented Apr 18, 2022

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

No branches or pull requests

1 participant