1
1
I would like to set an environment variable containing the URL of my proxy server with my credentials, as in this blog post.
The problem I'm having is that my password contains an at symbol and I am not sure how to properly escape it:
SET HTTP_PROXY=http://username:p@assword@proxy.yourdomain.com:8080
How do I do this?
By the way, I realize setting an environment variable containing my credentials is a Very Bad Idea. I'm open to other suggestions that would allow me to use composer behind an authenticated proxy if anyone has one.
You haven't made it clear that you're talking about URI "escaping", not command interpreter escaping. Which is why you're getting these answers about command interpreter escaping. – JdeBP – 2014-01-15T21:48:53.833
Sorry, I meant URI escaping. – Big McLargeHuge – 2014-01-15T22:46:53.710