I just played with this in python-apt:

>>> import apt_pkg
>>> s="http://user2:p%40s%2fs%3aw...@localhost:3128";
>>> apt_pkg.DeQuoteString(apt_pkg.QuoteString(s, '="\n'))
'http://user2:p...@s/s:w...@localhost:3128'
>>> apt_pkg.DeQuoteString(apt_pkg.QuoteString(s, '="\n%'))
'http://user2:p%40s%2fs%3aw...@localhost:3128'
>>> apt_pkg.DeQuoteString(apt_pkg.QuoteString(s, '="\n%')) == s
True

And I think it may fix the problem.

-- 
Encode any ":", "@" or "/" within the user and password field in proxy settings.
https://bugs.launchpad.net/bugs/130289
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to