Bugfix: allowing long username-password combinations
Patch provided by dirdi through github. git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@169 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
parent
4721e3c5b1
commit
a52ddf7492
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