[tor-bugs] #11763 [TorBrowserButton]: Double clicking OK button after proxy change disables all security settings

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat May 17 16:13:00 UTC 2014


#11763: Double clicking OK button after proxy change disables all security settings
----------------------------------+-----------------------
     Reporter:  scissors          |      Owner:  mikeperry
         Type:  defect            |     Status:  new
     Priority:  normal            |  Milestone:
    Component:  TorBrowserButton  |    Version:
   Resolution:                    |   Keywords:
Actual Points:                    |  Parent ID:
       Points:                    |
----------------------------------+-----------------------

Comment (by cypherpunks):

 {{{
 --- preferences.js
 +++ preferences.js.modified
 @@ -189,6 +189,7 @@
  }

  function torbutton_prefs_save(doc) {
 +    doc.documentElement.getButton("accept").disabled = true;
      torbutton_log(2, "called prefs_save()");
      var o_torprefs = torbutton_get_prefbranch('extensions.torbutton.');
      var o_customprefs =
 torbutton_get_prefbranch('extensions.torbutton.custom.');
 }}}
 This kludge should to prevent races.

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


More information about the tor-bugs mailing list