#35483: ModelMultipleChoiceField with CharField key throws ValueError if data
contains NUL (0x00) characters
-------------------------------------+-------------------------------------
     Reporter:  Jennifer Richards    |                    Owner:  lotvall
         Type:  Bug                  |                   Status:  closed
    Component:  Forms                |                  Version:  4.2
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
  ModelMultipleChoiceField null nul  |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):

 * resolution:   => fixed
 * status:  assigned => closed

Comment:

 In [changeset:"38ad710aba885ad26944ff5708ce1a02a446d2d3" 38ad710]:
 {{{#!CommitTicketReference repository=""
 revision="38ad710aba885ad26944ff5708ce1a02a446d2d3"
 Fixed #35483 -- Added NUL (0x00) character validation to
 ModelChoiceFields.

 Applied the ProhibitNullCharactersValidator to ModelChoiceField and
 ModelMultipleChoiceField.

 Co-authored-by: Viktor Paripás <[email protected]>
 Co-authored-by: Vasyl Dizhak <[email protected]>
 Co-authored-by: Arthur Vasconcelos <[email protected]>
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35483#comment:6>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107019025b585b3-938d815e-b0d3-493e-93ea-f37698cfec70-000000%40eu-central-1.amazonses.com.

Reply via email to