mirror of
https://github.com/ok2cqr/cqrlog.git
synced 2024-09-21 18:37:17 +00:00
Merge pull request #120 from dl7oap/fix_issue114_add_url_encoding_hamqth_session_password
add url encoding for hamqth session password -fix #114
This commit is contained in:
commit
d8f95a4cea
@ -3648,7 +3648,7 @@ begin
|
||||
http.UserName := cqrini.ReadString('Program', 'User', '');
|
||||
http.Password := cqrini.ReadString('Program', 'Passwd', '');
|
||||
req := 'http://www.hamqth.com/xml.php?u=' + cqrini.ReadString('CallBook', 'CBUser', '') +
|
||||
'&p=' + cqrini.ReadString('CallBook', 'CBPass', '') + '&prg=cqrlog';
|
||||
'&p=' + EncodeURLData(cqrini.ReadString('CallBook', 'CBPass', '')) + '&prg=cqrlog';
|
||||
//Writeln(req);
|
||||
if not HTTP.HTTPMethod('GET', req) then
|
||||
ErrMsg := '(' + IntToStr(http.ResultCode) + '):' + http.ResultString
|
||||
|
Loading…
Reference in New Issue
Block a user