From a52ddf7492564586d8d8b96b5a29b807f10ea14b Mon Sep 17 00:00:00 2001 From: wimpunk Date: Tue, 9 Sep 2014 07:00:39 +0000 Subject: [PATCH] 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 --- ddclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient b/ddclient index 4842212..182227e 100755 --- a/ddclient +++ b/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";