curl-users
Re: Re: problem with http basic authentication and multiple redirects
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 25 Nov 2008 13:36:49 -0800
Date: Tue, 25 Nov 2008 13:36:49 -0800
On Tue, Nov 25, 2008 at 10:12:39PM +0100, Menner May wrote:
> Thank you, Ralph, for your tip. --anyauth is the solution.
>
> curl now sends the basic authentication only after it was requested
> from the server.
> Thus, the previous redirects to the Single Sign On server works.
> After authentication, i receive the SSO cookie.
>
> There's still a problem: curl sends the basic authentication header
> again and again
> on all subsequent redirected GETs. Firefox doesn't do that.
I don't think it should be doing that unless you are using the
--location-trusted option. Sounds like a bug.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2008-11-25