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

[tor-commits] [flashproxy/master] Remove length limit on reg URLs.



commit c840adc2059eeaa6ebfa3c6526c1c806591af1bc
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Wed Mar 6 21:26:22 2013 -0800

    Remove length limit on reg URLs.
---
 facilitator/facilitator.cgi |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/facilitator/facilitator.cgi b/facilitator/facilitator.cgi
index 28c1606..72bbf89 100755
--- a/facilitator/facilitator.cgi
+++ b/facilitator/facilitator.cgi
@@ -47,9 +47,6 @@ def do_get():
         if args[0] != "reg":
             exit_error(400)
         reg = args[1]
-        # 256 byte RSA encryption, base64-encoded, should be no longer than 344 bytes.
-        if len(reg) > 350:
-            exit_error(400)
         if not url_reg(reg):
             exit_error(500)
         print """\



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