[tor-commits] [flashproxy/master] Simplify "cookierequired" parameter comment.

dcf at torproject.org dcf at torproject.org
Fri Dec 28 14:13:54 UTC 2012


commit ebfb8fc20907168ac38b63c595299f5b2b38c645
Author: Alexandre Allaire <alexandre.allaire at mail.mcgill.ca>
Date:   Fri Dec 21 19:20:18 2012 -0500

    Simplify "cookierequired" parameter comment.
    
    Simplify the comment explaining the "cookierequired" query parameter.
---
 proxy/flashproxy.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/proxy/flashproxy.js b/proxy/flashproxy.js
index e5eb419..712ef4e 100644
--- a/proxy/flashproxy.js
+++ b/proxy/flashproxy.js
@@ -13,9 +13,8 @@
  * uses the normal badge display.
  *
  * cookierequired=0|1
- * If present with value "1", "true", or "", the proxy will disable
- * itself if the user has not explicitly opted in by setting a cookie
- * through the options page. If absent, set to "0" or "false", the proxy
+ * If true, the proxy will disable itself if the user has not explicitly opted
+ * in by setting a cookie through the options page. If absent or false, the proxy
  * will run unless the user has explicitly opted out.
  *
  * facilitator=https://host:port/
@@ -70,6 +69,7 @@ var RATE_LIMIT_HISTORY = 5.0;
 
 /* Name of cookie that controls opt-in/opt-out. */
 var OPT_IN_COOKIE = "flashproxy-allow";
+
 /* Firefox before version 11.0 uses the name MozWebSocket. Whether the global
    variable WebSocket is defined indicates whether WebSocket is supported at
    all. */





More information about the tor-commits mailing list