#32899: enhance JSONResponse safe=True kwarg docs
-------------------------------------+-------------------------------------
               Reporter:  Thomas     |          Owner:  Simon Willison
  Grainger                           |
                   Type:             |         Status:  assigned
  Cleanup/optimization               |
              Component:             |        Version:  3.2
  Documentation                      |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 currently JSONResponse documents a `safe` kwarg

 ```
       Data to be dumped into json. By default only ``dict`` objects
       are allowed to be passed due to a security flaw before EcmaScript 5.
 See
       the ``safe`` parameter for more information.
 ```

 EcmaScript 5 is mostly dead, but there are other advantages to only
 sending dicts, see https://twitter.com/simonw/status/1410682522908856320

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32899>
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/052.94a82aa5fbb12a294a9679e3a5ce74ec%40djangoproject.com.

Reply via email to