#24948: BMP Image File treated as invalid
---------------------------------+------------------------------------
     Reporter:  jerzyk           |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  Forms            |                  Version:  1.8
     Severity:  Release blocker  |               Resolution:
     Keywords:  bmp, image       |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by timgraham):

 * needs_better_patch:   => 0
 * needs_docs:   => 0
 * severity:  Normal => Release blocker
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 It's a regression in 1.8 (#10935), so qualifies for a backport. At least
 we could
 
[https://github.com/django/django/blob/9f825b9e28547b1310526c9be9fca9e6dbcd57e7/django/forms/fields.py#L686
 catch the exception] and set `f.content_type = None` in that case.

--
Ticket URL: <https://code.djangoproject.com/ticket/24948#comment:1>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.7b667a8c6ce1f254668c4d9db6fc95c6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to