To authenticate against Microsoft ISA server user needs to specify name
as NTDOMAIN\NTUSER; in addition password contains space. Attempt to set
these in procy url, i.e.

export http_proxy=http://ntdomain\ntuser:ntpass@.../

fails, moreover it fails independently if I try to set them as
url-encoded or not.

The problem is that

- for clear text values wget encodes some characters
- for URL-encoded values wget does _not_ decode them becaue they are
"unsafe" or "reserved" ...

I understand that there is no ideal solution, it can't be known if URL
is already encoded or not. Still, in case of proxy, it is very unlikely
that users use encoding; almost for sure they would use real names here.

The final aim is to provide single proxy definition for several
programs. I have patches for curl and rsync but the only program that
currently claims to support proxy user/pass in URL fails :-)

TIA

-andrej

Please, Cc me as I am not on the list.

Reply via email to