Re: Escaping @ in apt.conf
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::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: 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? username:[EMAIL PROTECTED] 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 | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Escaping @ in apt.conf
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: 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? Thanks a lot, Cassiano Leal -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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:[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? -- 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Escaping @ in apt.conf
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]