#36784: Add CSP support to Django's script object and media objects
--------------------------------+------------------------------------
     Reporter:  Johannes Maron  |                    Owner:  Rish
         Type:  New feature     |                   Status:  assigned
    Component:  Forms           |                  Version:  6.0
     Severity:  Normal          |               Resolution:
     Keywords:                  |             Triage Stage:  Accepted
    Has patch:  0               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+------------------------------------
Comment (by Johannes Maron):

 @Rish, if you don't mind, I was hoping to solve this myself. Did you make
 any progress yet, you'd care to share?

 @Rob, I was thinking to use template nodes, instead of HTML-safe strings.
 So the asset objects would be rendered with the full temple context,
 including a nouce.
 If the template includes it, we render it. Otherwise we don't.  Of course,
 this could be added explicitly with a keyword, as you suggested.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36784#comment:7>
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/0107019b0d0d6430-c3b76052-70cb-45aa-88b4-1dad988ed9e2-000000%40eu-central-1.amazonses.com.

Reply via email to