Saturday, March 2, 2013

Passwords with special characters like & / etc while setting proxy in ubuntu

While using terminal in ubuntu, there arise situations where u need to type out your passwords.
URL encode your password to use them.

For example: Lets your password be 123@123
to use in
http_proxy="username:password@10.106.80:80"
URL encode the password as

123%40123

as the URL encoding of @ is %40
URL encoding of other characters can be obtained from
http://www.degraeve.com/reference/urlencoding.php

Njoy!

No comments:

Post a Comment

Put in your valuable comments here!

Note: Only a member of this blog may post a comment.