mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
[HamQTH] Fixes issue where certain passwords don't work.
This commit is contained in:
parent
1fdeeea684
commit
656ff24744
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue