[tor-commits] [flashproxy/master] Remove length limit on reg URLs.
dcf at torproject.org
dcf at torproject.org
Wed Mar 13 09:01:24 UTC 2013
commit c840adc2059eeaa6ebfa3c6526c1c806591af1bc
Author: David Fifield <david at bamsoftware.com>
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 """\
More information about the tor-commits
mailing list