SetCustomProxy - '@' in password

Hello,

One of our clients is using the '@' character in the password of their proxy server.

As a result, the value being passed into SetCustomProxy looks something like this: http://UserName:PasswordWith@InIt@server:port/

And, as expected, this doesn't seem to be working. Is there a way to escape the '@' in the password section of the proxy settings string, or do we have to get the client to change their password to something without a '@' (or '/' or ';') in it.

Regards,MK

Escape the @ character. Use the escaping rules of URLs. See: URL Encoding

Thanks, Sam. This works perfectly.