eSQL: Security fix, use HTTPS to send password over the internet

Signed-off-by: Petr Kracík <petrkr@petrkr.net>
This commit is contained in:
Petr Kracík
2023-08-27 14:53:57 +02:00
parent 6b7902b023
commit 059a0860af
6 changed files with 23 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ class EqslImporter
foreach ($matches[2] as $match) {
// Look for the link that has the .adi file, and download it to $file
if (substr($match, -4, 4) == ".adi") {
file_put_contents($this->adif_file, file_get_contents("http://eqsl.cc/qslcard/" . $match));
file_put_contents($this->adif_file, file_get_contents("https://eqsl.cc/qslcard/" . $match));
return $this->import();
}
}