2018-07-12 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up SQL quieries in 'lib/' ensure UTF-8 compatibility.
This commit is contained in:
Fred Gleason
2018-07-12 13:47:20 -04:00
parent bc2ada9b22
commit 363dbb7878
67 changed files with 1617 additions and 2040 deletions

View File

@@ -78,10 +78,9 @@ RDAudioStore::ErrorCode RDAudioStore::runStore(const QString &username,
//
// Generate POST Data
//
QString post=QString().sprintf("COMMAND=%d&LOGIN_NAME=%s&PASSWORD=%s",
RDXPORT_COMMAND_AUDIOSTORE,
(const char *)RDFormPost::urlEncode(username),
(const char *)RDFormPost::urlEncode(password));
QString post=QString().sprintf("COMMAND=%d&",RDXPORT_COMMAND_AUDIOSTORE)+
"LOGIN_NAME="+RDFormPost::urlEncode(username)+"&"+
"PASSWORD="+RDFormPost::urlEncode(password);
if((curl=curl_easy_init())==NULL) {
return RDAudioStore::ErrorInternal;
}