[Bug 27121] Use libproxy to autofill proxy list
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 5 15:18:04 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=27121
--- Comment #1 from Olivier Le Thanh Duong <olivier at lethanh.be> 2010-04-05 06:18:04 PDT ---
+ # libproxy documentation states:
+ #
+ # * The format of the returned proxy strings are as follows:
+ # * - http://[username:password@]proxy:port
+ # * - socks://[username:password@]proxy:port
+ # * - direct://
+ #
+ # We've already removed socks proxies, and dealt with direct://
+ # above, so the only other option is http://.
Actually, the documentation on the website state there maybe other proxying
protocols returned such as rstp:// see
http://code.google.com/p/libproxy/wiki/HowTo
So it maybe best to filter the list to only keep http:// here instead :
+ # Remove socks proxies that papyon doesn't support.
+ proxies = [p for p in proxies if not proxy.startswith('socks')]
Also, be sure to mention in the NEWS file and announce the suggested dependency
on python-libproxy
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list