[HamQTH] Fixes issue where certain passwords don't work.

这个提交包含在:
Peter Goodhall 2021-06-07 17:48:27 +01:00
父节点 1fdeeea684
当前提交 656ff24744

查看文件

@ -10,7 +10,7 @@ class Hamqth {
// Return session key
public function session($username, $password) {
// URL to the XML Source
$xml_feed_url = 'https://www.hamqth.com/xml.php?u='.$username.'&p='.$password;
$xml_feed_url = 'https://www.hamqth.com/xml.php?u='.$username.'&p='.urlencode($password);
// CURL Functions
$ch = curl_init();
@ -33,7 +33,7 @@ class Hamqth {
$ci = & get_instance();
// URL to the XML Source
$xml_feed_url = 'https://www.hamqth.com/xml.php?u='.$username.'&p='.$password;
$xml_feed_url = 'https://www.hamqth.com/xml.php?u='.$username.'&p='.urlencode($password);
// CURL Functions
$ch = curl_init();