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

Security: c.Attachment and c.Inline should escape filename in Content-Disposition header #2541

Merged
merged 1 commit into from
Nov 7, 2023

Commits on Nov 7, 2023

  1. Security: c.Attachment and c.Inline should escape name in `Content-Di…

    …sposition` header to avoid 'Reflect File Download' vulnerability.
    
    This is same as Go std does it https://github.com/golang/go/blob/9d836d41d0d9df3acabf7f9607d3b09188a9bfc6/src/mime/multipart/writer.go#L132
    aldas committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    1e63f47 View commit details
    Browse the repository at this point in the history