mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Update Qrz.php
Not all character works for the qrz-password without urlencode.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user