Yen Chi Hsuan efbed08dc2 [utils] Encode hostnames before passing to urllib
With IDN (Internationalized Domain Name) and a proxy, non-ascii URLs
are passed down to urllib/urllib2, causing UnicodeEncodeError

Fixes #8890
2016-03-23 22:24:52 +08:00
..
2016-03-03 19:24:24 +08:00
2015-02-21 14:55:13 +01:00
2016-01-10 17:24:28 +01:00