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: Mike Crowe via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 15 Aug 2019 10:12:45 +0100

On Thursday 15 August 2019 at 09:50:50 +0200, Daniel Stenberg wrote:
> On Thu, 15 Aug 2019, Mike Crowe via curl-library wrote:
>
> > That seems to be using basic authentication, so there's no 401 round
> > trip required to get the nonce. Please can you post the full output when
> > using digest authentication?
>
> You didn't say that was a requirement... =) I don't have a digest auth setup
> easily right now.

Ah, well I didn't initially realise that was significant. :) It was in the
logs though...

> Am I understanding this correctly that it works fine if you provide the
> credentials outside of the URL but you get the problem if the user +
> password is embedded in the (server) URL?

Yes.

I'll have a dig into the unit test infrastructure to see if I can find a
way to add a test case for this. I'd previously assumed that the use of a
proxy would make creating a test case difficult.

Thanks.

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