working with launchpad behind an authenticating proxy

John Arbash Meinel john at arbash-meinel.com
Tue Apr 10 19:27:54 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/10/2012 7:51 PM, Denys Duchier wrote:
> at the university, my students must use a proxy for all http/https 
> connexions (however, I managed to put in place a forwarding gateway
> for ssh connexions to launchpad.net).  the proxy is now
> "authenticating", which means that they need to provide a username
> and password for ALL connexions to the proxy.  since lp: urls need
> xmlrpc, some bzr commands require them to enter username and
> password several times, and working with bzr just becomes too
> bothersome.  To make things worse, their username is their email
> address at university (yes, WITH an @ inside which doesn't work
> with the <user>:<password>@<host>:<port> syntax).
> 
> Is there a way to configure the proxy username and password in 
> authentication.conf or something?
> 
> Cheers,
> 
> --Denys
> 

I know for URLs, you can put an @ in them because we take the *last* @
as the separator before host. So:

http://user@host:pas@word@host:port

Will parse correctly as
 user at host
 pas at word
 host
 port

However, I don't know if we have that working for the proxy code.
Also, for URLs you can usually get away with URL escaping the @ as %40.

That may or may not work for you, but something worth trying.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+EibkACgkQJdeBCYSNAANrTACgnUvQdbcRIETCeG9owbGpyyT0
77AAmgNpc5rtOumqkqTzr2osA6A+uNL1
=rVIp
-----END PGP SIGNATURE-----



More information about the bazaar mailing list