[tor-commits] [flashproxy/master] Use HTTPS in flashproxy.js.

dcf at torproject.org dcf at torproject.org
Fri Aug 31 11:39:36 UTC 2012


commit 82736119d8bad82ecd3ee5db4a006f28e8647306
Author: David Fifield <david at bamsoftware.com>
Date:   Thu Aug 30 16:15:53 2012 -0700

    Use HTTPS in flashproxy.js.
---
 flashproxy.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/flashproxy.js b/flashproxy.js
index 6d70fe7..b0bdf21 100644
--- a/flashproxy.js
+++ b/flashproxy.js
@@ -51,7 +51,7 @@
 
 var DEFAULT_FACILITATOR_ADDR = {
     host: "tor-facilitator.bamsoftware.com",
-    port: 9002
+    port: 443
 };
 
 var DEFAULT_MAX_NUM_PROXY_PAIRS = 10;
@@ -372,7 +372,7 @@ function FlashProxy() {
             return;
         }
 
-        fac_url = "http://" + encodeURIComponent(this.fac_addr.host)
+        fac_url = "https://" + encodeURIComponent(this.fac_addr.host)
             + ":" + encodeURIComponent(this.fac_addr.port) + "/";
         xhr = new XMLHttpRequest();
         try {





More information about the tor-commits mailing list