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

Use 'filename*' Parameter Only for Non-ASCII File Names in Content-Disposition #2786

Closed
marevol opened this issue Dec 1, 2023 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@marevol
Copy link
Contributor

marevol commented Dec 1, 2023

We are proposing a change in the way we handle the 'Content-Disposition' header in file responses. Currently, the header includes both 'filename' and 'filename*' parameters for all file names. This change will make it so that the 'filename*' parameter is only used when the file name contains non-ASCII characters. This approach aligns better with the RFC 6266 standard and improves handling of file names with special characters.

@marevol marevol added the bug label Dec 1, 2023
@marevol marevol added this to the 14.12.0 milestone Dec 1, 2023
@marevol marevol self-assigned this Dec 1, 2023
@marevol marevol closed this as completed in 613c418 Dec 1, 2023
marevol added a commit that referenced this issue Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant