On Saturday, 4 October 2014 at 21:59:43 UTC, notna wrote:
Cool,thanks.
Btw., there could be more special chars to encode...replace
beside ":"... like / @ and so on... see also
http://www.cyberciti.biz/faq/unix-linux-export-variable-http_proxy-with-special-characters/
for the background
Does std.uri.encode() not take care of these either? Anyway,
according to the documentation [1], it effectively only cares for
":". Therefore, I removed the calls to encode().
[1] http://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERPWD.html