Bug 32753 - Proxy authentication failure when the proxy password has escape caracters
Summary: Proxy authentication failure when the proxy password has escape caracters
Status: RESOLVED NOTOURBUG
Alias: None
Product: Telepathy
Classification: Unclassified
Component: papyon (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Louis-Francis Ratté-Boulianne
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-31 04:11 UTC by Paulo Pizarro
Modified: 2010-12-31 06:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch fixing the problem with escape caracters on the proxy password (1.49 KB, patch)
2010-12-31 04:11 UTC, Paulo Pizarro
Details | Splinter Review
Patch fixing the problem with escape caracters on the proxy password (1.06 KB, patch)
2010-12-31 05:06 UTC, Paulo Pizarro
Details | Splinter Review

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.