4

I am trying to install SVN in Ubuntu. My network proxy has a password. In apt.conf when i do:

Acquire::http::Proxy "http://username:pass@word@proxy_server:proxy_port";

It's not working . My question is how can I escape @ in pass@word? I tried many combinations but it doesn't work.

Gaurav Saxena
  • 75
  • 1
  • 1
  • 8

1 Answers1

5

You need escape the first @ With \ or use use its Hex ASCII value %40

Try:

Acquire::http::Proxy "http://username:pass\@word@proxy_server:proxy_port";

or

Acquire::http::Proxy "http://username:pass%40word@proxy_server:proxy_port";
Warren Hill
  • 22,412
  • 28
  • 70
  • 88