changes in handling --tor (using SOCKS instead of HTTP for handling Tor - more standard way; doesn't require proxy bundle; fixes problems with default proxy ports on Win/Linux)

This commit is contained in:
Miroslav Stampar
2011-05-21 11:46:57 +00:00
parent 939e6541d0
commit 25fff8c135
6 changed files with 427 additions and 10 deletions

View File

@@ -268,9 +268,6 @@ UNICODE_ENCODING = "utf8"
# Reference: http://www.w3.org/Protocols/HTTP/Object_Headers.html#uri
URI_HTTP_HEADER = "URI"
# Default Tor proxy settings
DEFAULT_TOR_PROXY = "http://127.0.0.1:8118"
# Uri format which could be injectable (e.g. www.site.com/id82)
URI_INJECTABLE_REGEX = r".*/([^\.*?]+)\Z"