mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-05 08:33:57 +01:00
2022-09-20 Fred Gleason <fredg@paravelsystems.com>
* Changed the 'RECORDINGS.URL_PASSWORD' from 'varchar(64)' to 'text'. * Base64 encoded the contents of the 'RECORDINGS.URL_PASSWORD' field. * Incremented the database version to 358. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -603,13 +603,13 @@ void RDRecording::setUrlUsername(QString name) const
|
||||
|
||||
QString RDRecording::urlPassword() const
|
||||
{
|
||||
return GetStringValue("URL_PASSWORD");
|
||||
return QByteArray::fromBase64(GetStringValue("URL_PASSWORD").toUtf8());
|
||||
}
|
||||
|
||||
|
||||
void RDRecording::setUrlPassword(QString passwd) const
|
||||
{
|
||||
SetRow("URL_PASSWORD",passwd);
|
||||
SetRow("URL_PASSWORD",QString(passwd.toUtf8().toBase64()));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user