fix show/il3qar command
authorDirk Koopman <djk@tobit.co.uk>
Tue, 24 Jan 2023 20:46:56 +0000 (20:46 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Tue, 24 Jan 2023 20:46:56 +0000 (20:46 +0000)
Changes
cmd/show/ik3qar.pl

diff --git a/Changes b/Changes
index 9c701d18e62e5f126da38bc2382172dd184506d7..27b1fe49e44be31e405b18d699bac3edfe34ee0e 100644 (file)
--- a/Changes
+++ b/Changes
@@ -2,6 +2,7 @@
 1. Optimise the PC11->PC61 promotion code, improve readability of the 
    debugging when 'set/debug pc11' is active.
 2. Remove spurious '$' character at the end of Listeners.pm (thanks Kin).
+3, Fix show/ik3qar command
 20Jan23=======================================================================
 1. Add the variable @main::localhost_names to allow other IP addresses to
    be treated in the same way as localhost in item 1 on 19Jan23 below. NOTE
index 71f1e735c1d7fa4f2d5324fd866b3adbde986b3c..df1a60aed39cf5641a484ec5d11f8caf7da9cea6 100644 (file)
@@ -17,8 +17,7 @@ sub handle
        return (1, "SHOW/IK3QAR <callsign>\n  e.g. SH/IK3QAR II5I, SH/IK3QAR V51AS\n") unless $line;
 
        my $target = $Internet::ik3qar_url;
-       my $port = 80;
-       my $url = "http://".$target;
+       my $url = "https://" . $target;
 
        $line = uc $line;
        dbg("IK3QAR: call = $line") if isdbg('ik3qar');
@@ -27,7 +26,7 @@ sub handle
        dbg("IK3QAR: url=$path") if isdbg('ik3qar');
        Log('call', "$call: SH/IK3QAR $line");
        
-       my $r = AsyncMsg->get($self, $target, $path, prefix=>'qar> ',
+       my $r = AsyncMsg->get($self, $url, $path, prefix=>'qar> ',
                                                  'User-Agent' => "DxSpider;$main::version;$main::build;$^O;$main::mycall;$call");
        if ($r) {
                push @out, $self->msg('m21', "show/ik3qar");