#33567: Builtin csrf_failure() view uses wrong charset -------------------------+-------------------------------------- Reporter: MrVichr | Owner: nobody Type: Bug | Status: closed Component: CSRF | Version: 4.0 Severity: Normal | Resolution: needsinfo Keywords: csrf | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------+--------------------------------------
Comment (by Claude Paroz): I think I'd rather omit `content_type` when it is `text/html` (several other locations are affected, too). I'll try a patch to see what's the outcome in tests. -- Ticket URL: <https://code.djangoproject.com/ticket/33567#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107017f6a3a9712-14f86228-0f10-446a-a503-bbedb03020ea-000000%40eu-central-1.amazonses.com.