duosecurity/duo_unix — Issue #18: proxy authentication doesnt work
Author: radioshow
Created: 2011-12-23 04:22:33+00:00
State: open

When setting http_proxy to http://username:password@proxy.server the username + password is not being sent to the proxy.

I changed the following line in https.c and proxy auth then worked for me:

https.c
line 344

BIO_puts(b64, ctx->proxy_auth);

changed to

BIO_write(b64, ctx->proxy_auth, strlen(ctx->proxy_auth));