urlencode lotw password and last qsl date in requests to lotw
- fixes 404 errors due to un-encoded password or dates
这个提交包含在:
父节点
17dff29c20
当前提交
2d4b015a44
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -126,14 +126,14 @@ class Lotw extends CI_Controller {
|
|||
// Build URL for LoTW report file
|
||||
$lotw_url .= "?";
|
||||
$lotw_url .= "login=" . $data['user_lotw_name'];
|
||||
$lotw_url .= "&password=" . $data['user_lotw_password'];
|
||||
$lotw_url .= "&password=" . urlencode($data['user_lotw_password']);
|
||||
$lotw_url .= "&qso_query=1&qso_qsl='yes'";
|
||||
|
||||
//TODO: Option to specifiy whether we download location data from LoTW or not
|
||||
//$lotw_url .= "&qso_qsldetail=\"yes\";
|
||||
|
||||
$lotw_url .= "&qso_qslsince=";
|
||||
$lotw_url .= "$lotw_last_qsl_date";
|
||||
$lotw_url .= urlencode("$lotw_last_qsl_date");
|
||||
|
||||
// Only pull back entries that belong to this callsign
|
||||
$lotw_call = $this->session->userdata('user_callsign');
|
||||
|
|
|
|||
正在加载…
在新工单中引用