"Ron Johnson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On 09/26/08 12:27, Cassiano Leal wrote:
Hi list!
Is it possible to escape an "@" in apt.conf?
I have a file /etc/apt/apt.conf.d/60proxy with the syntax to use apt
through a proxy:
ACQUIRE {
http::proxy "http://username:[EMAIL PROTECTED]:3128/"
}
but since my password has an @ in it, aptitude thinks that the server
address starts right after this @. Say this is the real thing:
Change your password?
http::proxy "http://username:[EMAIL PROTECTED]@proxy.server.com:3128/"
I get an error saying that it could not resolve the hostname
@[EMAIL PROTECTED] !
Is there a way to escape the @ in the password?
You must use URL encoding. (i.e:
http::proxy "http://username:[EMAIL PROTECTED]:3128/"
)
If that fails to work then it is a bug in apt, and should be reported with
reportbug.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]