[HamQTH] Fixes issue where certain passwords don't work.
这个提交包含在:
父节点
1fdeeea684
当前提交
656ff24744
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -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();
|
||||
|
|
|
|||
正在加载…
在新工单中引用