Update Qrz.php
Not all character works for the qrz-password without urlencode.
这个提交包含在:
父节点
4e95924454
当前提交
23c0e0115a
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -10,7 +10,7 @@ class Qrz {
|
|||
// Return session key
|
||||
public function session($username, $password) {
|
||||
// URL to the XML Source
|
||||
$xml_feed_url = 'http://xmldata.qrz.com/xml/current/?username='.$username.';password='.$password.';agent=cloudlog';
|
||||
$xml_feed_url = 'http://xmldata.qrz.com/xml/current/?username='.$username.';password='.urlencode($password).';agent=cloudlog';
|
||||
|
||||
// CURL Functions
|
||||
$ch = curl_init();
|
||||
|
|
@ -33,7 +33,7 @@ class Qrz {
|
|||
$ci = & get_instance();
|
||||
|
||||
// URL to the XML Source
|
||||
$xml_feed_url = 'http://xmldata.qrz.com/xml/current/?username='.$username.';password='.$password.';agent=cloudlog';
|
||||
$xml_feed_url = 'http://xmldata.qrz.com/xml/current/?username='.$username.';password='.urlencode($password).';agent=cloudlog';
|
||||
|
||||
// CURL Functions
|
||||
$ch = curl_init();
|
||||
|
|
|
|||
正在加载…
在新工单中引用