#36769: Limit recursive extraction of field values in XML deserializer
--------------------------------------+------------------------------------
     Reporter:  Jacob Walls           |                    Owner:  (none)
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Core (Serialization)  |                  Version:  dev
     Severity:  Normal                |               Resolution:
     Keywords:  xml deserializer      |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Comment (by Pravin):

 Either we could change the helper function to only accept the types that
 Django actually uses: regular text and the one-level-deep <natural> tag.
 This would stop the recursion immediately for anything else, or we could
 explicitly tell the function how deep it should go.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36769#comment:3>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019ae97b4a06-30281b9f-a5a7-4e72-b183-317d06bdb8f9-000000%40eu-central-1.amazonses.com.

Reply via email to