[or-cvs] r18787: {check} Strings, strings. (check/trunk/cgi-bin)

ioerror at seul.org ioerror at seul.org
Fri Mar 6 09:48:47 UTC 2009


Author: ioerror
Date: 2009-03-06 04:48:47 -0500 (Fri, 06 Mar 2009)
New Revision: 18787

Modified:
   check/trunk/cgi-bin/TorCheck.py
Log:
Strings, strings.


Modified: check/trunk/cgi-bin/TorCheck.py
===================================================================
--- check/trunk/cgi-bin/TorCheck.py	2009-03-06 09:40:11 UTC (rev 18786)
+++ check/trunk/cgi-bin/TorCheck.py	2009-03-06 09:48:47 UTC (rev 18787)
@@ -162,10 +162,10 @@
 def handler(req):
 
     # Make a DNS request to the EL and decide what to tell the user
-    UsingTor = isUsingTor(req.connection.remote_ip, 80)
+    UsingTor = isUsingTor(req.connection.remote_ip, "80")
     # Try to hit a cornercase where the user can exit to 443 but not 80
     if UsingTor == 0:
-        UsingTor = isUsingTor(req.connection.remote_ip, 443)
+        UsingTor = isUsingTor(req.connection.remote_ip, "443")
 
     req.send_http_header()
     req.content_type = 'text/html; charset=utf-8'



More information about the tor-commits mailing list