How to make bash http proxy work if there is @ in password string.
export http_proxy='http://jdoe:P@ssw0rd@proxyserver:8080'
.
I am getting curl: (5) Couldn't resolve proxy 'ssword@proxyserver'
for the next curl command. Please advise.
You need to URL-encode special characters. @
is %40
export http_proxy='http://jdoe:P%40ssw0rd@proxyserver:8080'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.