What is the correct format using special characters in http_proxy environment variable?
Or to be mor specific, what to do with special characters in username or password when authenticate to http proxy on the command line.
At first, the complete format is:
Every special character in username and password must not conflict with the characters used in the above format AND must be URL compliant.
Here is an example:
And to prevent bash interpretation of any character always use single-quotes.
You can set this system wide in /etc/environment like this:
Easy URL encoding/decoding:
Suppose your username is
Or escape them:
What if your password is