Re: yum proxy username with @ character

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





Brad Beyenhof wrote:
Clint Dilks wrote:
http_proxy understands the format <username>:<password>@<my proxy>:<proxy port> so in this case the @ is probably being interpreted as server identifier. I would try enclosing the user name in single quotes or adding a \ before the @. If these do not work your only option may be to contact the proxy admin and obtain a username without the @

If putting '\@' to escape the at sign didn't work, have you tried using the URL escape code of '%40' to represent it?

I was really curious about this, so I googled around a bit. I don't know about the support in the environment variables, but from what I'm reading, the "%40" encoding should definitely work if you use the proxy variables in yum.conf, ie:
proxy=http://proxyserver.somedomain.local:portnum/
proxy_username=username%40stuffafteratsymbol
proxy_password=password

This should at a minimum be true for CentOS 4.5 since I cracked open the python on my box to see exactly what the proxy code was doing :)

-Shawn
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux