Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
19
rated 0 times [  19] [ 0]  / answers: 1 / hits: 145335  / 2 Years ago, thu, august 4, 2022, 8:04:06

I'm trying to set a system wide proxy, and I'm specifically having difficulties with apt-get for installing applications on my Ubuntu. I'm in a university using a proxy server with username/password. I'm aware of setting a proxy with username and password in the following manner:



http://username:[email protected]:8080/



But it fails, as a critical example with apt-get. Username contains backslash( ) in it and I'm wondering whether that could be a problem for failing. I'd be grateful with any input on this.


More From » proxy

 Answers
2

Try escaping the backslash like this:



http://user%5Cname:[email protected]:8080/



where '%5C' is the URL-encoded value for the backslash character. See this background.


[#41821] Thursday, August 4, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jokaned

Total Points: 315
Total Questions: 116
Total Answers: 119

Location: Somalia
Member since Mon, Feb 27, 2023
1 Year ago
;