Setting proxy does not escape backslash


My university proxy looks like “https://students\” but when I use apm set config https-proxy the variable is set as “https://students/” (the backslash after students is replaced with a forwardslash". I’ve tried to escape the backslash using \ and I’ve tried ASCII and Unicodes but to no avail.


Technically, backslashes are NOT legal characters in a URL. Try “https://students\” (replacing the \ with its URL encoding %5C).


Thanks but unfortunately that didn’t work. The proxy URL has caused me no end of problems.


Wow, that’s bad. Do you know if that URL is working with npm?


try an environment variable before running apm
for example