From 03dffae74e839f5c9065dac553ddf04ddcd85944 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 6 Jul 2020 20:20:01 -0400 Subject: [PATCH] Honor the `ssl` option for the `web` URL --- ChangeLog.md | 1 + ddclient.in | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 142cf2c..5a5ad5f 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -28,6 +28,7 @@ repository history](https://github.com/ddclient/ddclient/commits/master). * Fixed a regression introduced in v3.9.0 that caused `use=ip,ip=` to fail. * "true" is now accepted as a boolean value. + * The `ssl` option now applies to the `web` URL. ### Compatibility and dependency changes diff --git a/ddclient.in b/ddclient.in index 2d753e1..c2a25da 100755 --- a/ddclient.in +++ b/ddclient.in @@ -2166,11 +2166,7 @@ sub get_ip { $arg = $url; if ($url) { - $reply = geturl({ - proxy => opt('proxy', $h), - url => $url, - ignore_ssl_option => 1, - }) || ''; + $reply = geturl({ proxy => opt('proxy', $h), url => $url }) || ''; } } elsif (($use eq 'cisco')) {