Bug 32753

Summary: Proxy authentication failure when the proxy password has escape caracters
Product: Telepathy Reporter: Paulo Pizarro <paulo.pizarro>
Component: papyonAssignee: Louis-Francis Ratté-Boulianne <lfrb>
Status: RESOLVED NOTOURBUG QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch fixing the problem with escape caracters on the proxy password
Patch fixing the problem with escape caracters on the proxy password

Description Paulo Pizarro 2010-12-31 04:11:10 UTC
Created attachment 41547 [details] [review]
Patch fixing the problem with escape caracters on the proxy password

On Ubuntu 10.10 the proxy password is saved using escape caracteres.

Example: the password "12;45" is saved as "12%3B45"
Comment 1 Paulo Pizarro 2010-12-31 05:06:43 UTC
Created attachment 41548 [details] [review]
Patch fixing the problem with escape caracters on the proxy password

Not execute unquote if user or password is None
Comment 2 Paulo Pizarro 2010-12-31 06:15:25 UTC
This error does not apply to papyon.

The proxy password must not have escape characters.

My password has a ";" and so the "http_proxy" environment variable has a URL with escape characters.

The problem occurs because the "test.py" takes the proxy information from the environment variable (http_proxy), using urllib.getproxies().

It would be interesting to use libproxy on the "test.py" instead of urllib.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.