Update Cloudflare zone ID query

The zone ID query was executed without a trailing slash, resulting in an un-handled 301.
This commit is contained in:
Michael Werle 2019-01-05 00:32:23 -06:00 committed by GitHub
parent 02c983a991
commit 54d2d5e36f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4262,7 +4262,7 @@ sub nic_cloudflare_update {
verbose("UPDATE:","updating %s", $domain);
# Get zone ID
my $url = "https://$config{$key}{'server'}/zones?";
my $url = "https://$config{$key}{'server'}/zones/?";
$url .= "name=".$config{$key}{'zone'};
my $reply = geturl(opt('proxy'), $url, undef, undef, $headers);