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

Re: Escaping @ in apt.conf



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:password@proxy.server.com: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:passw@rd@proxy.server.com:3128/";

I get an error saying that it could not resolve the hostname
@rd@proxy.server.com !

Is there a way to escape the @ in the password?

--
Ron Johnson, Jr.
Jefferson LA  USA

"Do not bite at the bait of pleasure till you know there is no
hook beneath it."  -- Thomas Jefferson


Reply to: