]> git.ipfire.org Git - thirdparty/tor.git/commit
Work around nytimes.com's broken hostnames in our SOCKS checks.
authorYawning Angel <yawning@schwanenlied.me>
Wed, 24 Jun 2015 13:52:29 +0000 (13:52 +0000)
committerYawning Angel <yawning@schwanenlied.me>
Wed, 24 Jun 2015 13:52:29 +0000 (13:52 +0000)
commit3f336966a264d7cd7c6dab08fb85d85273f06d68
tree5c25761adefefba6037dedab2d4c881cca715f1d
parent8b35d8508835f23b8e804982db368c0304a08d40
Work around nytimes.com's broken hostnames in our SOCKS checks.

RFC 952 is approximately 30 years old, and people are failing to comply,
by serving A records with '_' as part of the hostname.  Since relaxing
the check is a QOL improvement for our userbase, relax the check to
allow such abominations as destinations, especially since there are
likely to be other similarly misconfigured domains out there.
changes/bug16430 [new file with mode: 0644]
src/common/util.c
src/test/test_util.c