#13978: Allow inline js/css in forms.Media
-------------------------------+------------------------------------
     Reporter:  nathforge      |                    Owner:  dmpayton
         Type:  New feature    |                   Status:  assigned
    Component:  Forms          |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:  sprintdec2010  |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  1
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by julien):

 This ticket was brought on in IRC. A good point was made by @apollo13 that
 a new W3C policy is being worked on to discourage developers from using
 inline JS, in particular to prevent the risk of XSS: the Content Security
 Policy http://www.w3.org/TR/CSP/

 While I do recognize the convenience of inline JS/CSS, this is an
 important question that needs more discussing, especially around whether
 Django core should allow this feature which seems to now go against
 recommended practices. At this point I'd recommend bringing this to the
 django-devs mailing list to gather more feedback.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13978#comment:19>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to