[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit ebfb8fc20907168ac38b63c595299f5b2b38c645
Author: Alexandre Allaire <alexandre.allaire@xxxxxxxxxxxxxx>
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. */



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits