#35692: form media elements should support emitting CSP nonces
--------------------------------+--------------------------------------
     Reporter:  László Károlyi  |                    Owner:  (none)
         Type:  New feature     |                   Status:  closed
    Component:  Forms           |                  Version:  4.2
     Severity:  Normal          |               Resolution:  duplicate
     Keywords:  csp             |             Triage Stage:  Unreviewed
    Has patch:  0               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+--------------------------------------
Comment (by Rob Hudson):

 I believe this issue is more about requesting that the
 `django.forms.widget.Media` class have access to the `request` object so
 that the `render_js` and `render_css` (or subclass) could use them to
 render the tags with the `nonce`, which could be added independently of
 the work in #15727.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35692#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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070191b40e1842-f5b4495e-4b29-49bc-a493-b5e13be171fc-000000%40eu-central-1.amazonses.com.

Reply via email to