curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Username and password in URL stopped working with proxy

From: R C via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 3 Aug 2019 16:16:44 -0600

depending on what protocol you are using, with curl, and the device,  it
might be that you have to authenticate once, with digest or so, before
you start streaming, and the authentication is good for the session.

Ron

On 8/3/19 2:39 PM, Mike Crowe via curl-library wrote:
> On Saturday 03 August 2019 at 21:32:12 +0200, Daniel Stenberg wrote:
>> On Sat, 3 Aug 2019, Daniel Stenberg via curl-library wrote:
>>
>>>> curl --proxy http://proxy:3128/ --anyauth http://unittest:password@host/
>>> And you're using curl 7.65.3 ?
> No, I was using the current state of master yesterday:
> decefd5778f0b1f3b0e1178f2264b39f3c294f10, but I believe that curl v7.64.0
> in Debian Buster behaves the same way.
>
> I've attached two logs. One from my build of master, and one from the
> Debian Stretch version of curl (7.52.1.) It looks like v7.52.1 passes the
> username and password on to the proxy in the URL, whereas master does not:
>
> (master) * Issue another request to this URL: 'http://cam-unittest-fixture.brightsign/~unittest/cgi-bin/auth-digest/make-large2.rb?maxage=0&bytes=310'
>
> vs
>
> (7.52.1) * Issue another request to this URL: 'http://unittest:password@cam-unittest-fixture.brightsign/~unittest/cgi-bin/auth-digest/make-large2.rb?maxage=0&bytes=310'
>
> I hope this makes things clearer.
>
> Mike.
>
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-08-04