Fixed problem on eQSL authentication with special characters #520
这个提交包含在:
父节点
0c11f4e9a7
当前提交
b71dd5468c
共有 1 个文件被更改,包括 7 次插入 和 3 次删除
|
|
@ -140,7 +140,7 @@ class eqsl extends CI_Controller {
|
||||||
// Build URL for eQSL inbox file
|
// Build URL for eQSL inbox file
|
||||||
$eqsl_url .= "?";
|
$eqsl_url .= "?";
|
||||||
$eqsl_url .= "UserName=" . $data['user_eqsl_name'];
|
$eqsl_url .= "UserName=" . $data['user_eqsl_name'];
|
||||||
$eqsl_url .= "&Password=" . $data['user_eqsl_password'];
|
$eqsl_url .= "&Password=" . urlencode($data['user_eqsl_password']);
|
||||||
|
|
||||||
$eqsl_url .= "&RcvdSince=" . $eqsl_last_qsl_date;
|
$eqsl_url .= "&RcvdSince=" . $eqsl_last_qsl_date;
|
||||||
$eqsl_url .= "&QTHNickname=" . urlencode($active_station_info->eqslqthnickname);
|
$eqsl_url .= "&QTHNickname=" . urlencode($active_station_info->eqslqthnickname);
|
||||||
|
|
@ -176,7 +176,11 @@ class eqsl extends CI_Controller {
|
||||||
if (stristr($input, "You have no log entries"))
|
if (stristr($input, "You have no log entries"))
|
||||||
{
|
{
|
||||||
$this->session->set_flashdata('success', 'There are no QSLs waiting for download at eQSL.cc.'); redirect('eqsl/import');
|
$this->session->set_flashdata('success', 'There are no QSLs waiting for download at eQSL.cc.'); redirect('eqsl/import');
|
||||||
|
}
|
||||||
|
else if (stristr($input, "Error: No such Username/Password found"))
|
||||||
|
{
|
||||||
|
$this->session->set_flashdata('warning', 'No such Username/Password found This could mean the wrong callsign or the wrong password, or the user does not exist.');
|
||||||
|
redirect('eqsl/import');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用