From a4f43f5b42801e0fa7939640002efadf14b4be83 Mon Sep 17 00:00:00 2001 From: dl6nm Date: Tue, 26 May 2020 21:38:36 +0200 Subject: [PATCH 1/2] Fixed special character password errors on eQSL export and image --- application/controllers/Eqsl.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index 988404e1..7d6a4344 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -322,7 +322,7 @@ class eqsl extends CI_Controller { $adif .= "%3A"; $adif .= strlen($data['user_eqsl_password']); $adif .= "%3E"; - $adif .= $data['user_eqsl_password']; + $adif .= urlencode($data['user_eqsl_password']); $adif .= "%20"; $adif .= "%3C"; @@ -583,8 +583,7 @@ class eqsl extends CI_Controller { $username = $q->user_eqsl_name; $password = $q->user_eqsl_password; - - $image_url = $this->electronicqsl->card_image($username, $password, $callsign, $band, $mode, $year, $month, $day, $hour, $minute); + $image_url = $this->electronicqsl->card_image($username, urlencode($password), $callsign, $band, $mode, $year, $month, $day, $hour, $minute); $file = file_get_contents($image_url, true); $dom = new domDocument; From 0642c7001350cfe4a19d5f5f9413ff87b4c2bbe3 Mon Sep 17 00:00:00 2001 From: dl6nm Date: Tue, 26 May 2020 22:31:27 +0200 Subject: [PATCH 2/2] Set eQSL navigation tab "Upload QSOs" to the active one after import finished --- application/views/eqsl/analysis.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/views/eqsl/analysis.php b/application/views/eqsl/analysis.php index 91956b77..83ac0503 100644 --- a/application/views/eqsl/analysis.php +++ b/application/views/eqsl/analysis.php @@ -5,10 +5,10 @@