On Fri, Sep 26, 2008 at 02:27:38PM -0300, 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:

roxy "http://username

assword@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:
>
> http:

roxy "http://username

assw@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?
username

assword@hostname is interpeted by the client and sent to the
host explicitly. Apt should have some explicit settings for username and
password to the proxy. Unless I'm mistaken.
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org