You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 13, 2024. It is now read-only.
In Django 4.2 there is
django.utils.http.content_disposition_header()
which can help us ensure that the headers are RFC 6266 compliant.Previous Code
New Code
I'm not sure if this is the canonical way to call it, but it does add unicode support to the filename and hides some implementation specifics.
I'm not sure if its worth it, so feel free to close this if you don't think it is.
Originally posted by @hairmare in #1072 (comment)
The text was updated successfully, but these errors were encountered: