[tor-bugs] #21769 [Webpages/Website]: CSP blocks Tor Debian Instructions' Javascript

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 24 16:42:05 UTC 2017


#21769: CSP blocks Tor Debian Instructions' Javascript
------------------------------+----------------------
 Reporter:  tom               |          Owner:  hiro
     Type:  defect            |         Status:  new
 Priority:  Medium            |      Milestone:
Component:  Webpages/Website  |        Version:
 Severity:  Normal            |     Resolution:
 Keywords:                    |  Actual Points:
Parent ID:                    |         Points:
 Reviewer:                    |        Sponsor:
------------------------------+----------------------

Comment (by arthuredelstein):

 FWIW, here is a list of inline scripts I found by grepping the website
 source code. These are presumably all getting blocked by our CSP. None of
 these scripts seems particularly important, but if someone has time these
 would probably be good to clean up.

 {{{
 // Offers search provider for torbutton (probably not needed):
 ./docs/torbutton/index.html.en:    <script type="text/javascript">
 ./docs/torbutton/en/index.wml:    <script type="text/javascript">

 // Obsolete donation pages (superseded by donate.torproject.org):
 ./donate/thankyou.html.en:<script type="text/javascript" charset="utf-8">
 ./include/thankyou-head.wmi:<script type="text/javascript"
 charset="utf-8">

 // Rule 41 campaign (this campaign is out of date because Rule 41 passed):
 ./rule-41/banner.html:     <script type="text/javascript">
 ./rule-41/email.html:  <script type="text/javascript">
 ./rule-41/email.html:  <script id="action_css" type="text/x-css-content">
 ./rule-41/petition.html:        <script type="text/javascript">
 ./rule-41/petition.html:        <script id="action_css" type="text/x-css-
 content
 ">
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21769#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list