Subject: | The credentials method needs both url and realm to be effective |
Using the credentials method and passing only one of the url or realm
parameters does not appear to have any effect when calling open on a
protected location (setting both url and realm does work however).
From brief testing it looks like this is due to the call to
get_basic_credentials in HTTP::DAV::Comms always settling on the result
of $self->{'basic_authentication'}{$netloc}{$realm} for the auth details
even when this is an empty arrayref and there are usable matches in
$self->{'basic_authentication'}{default}{$realm} or
$self->{'basic_authentication'}{$netloc}{default}