Merge pull request #8 from dirdi/master
Bugfix: Long username-password-combinations will not result in an authen...
This commit is contained in:
commit
c4d05f035d
1 changed files with 1 additions and 1 deletions
2
ddclient
2
ddclient
|
@ -1875,7 +1875,7 @@ sub geturl {
|
|||
$request .= "/$url HTTP/1.0\n";
|
||||
$request .= "Host: $server\n";
|
||||
|
||||
my $auth = encode_base64("${login}:${password}");
|
||||
my $auth = encode_base64("${login}:${password}", "");
|
||||
$request .= "Authorization: Basic $auth\n" if $login || $password;
|
||||
$request .= "User-Agent: ${program}/${version}\n";
|
||||
$request .= "Connection: close\n";
|
||||
|
|
Loading…
Reference in a new issue