Update Qrz.php

Not all character works for the qrz-password without urlencode.
这个提交包含在:
whyIsMyNameUsed 2021-05-10 17:59:51 +02:00 提交者 GitHub
父节点 4e95924454
当前提交 23c0e0115a
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -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();