2022-10-06 Fred Gleason <fredg@paravelsystems.com>

* Changed the type of the 'REPLICATORS.URL_PASSWORD` field in the
	database to 'text'.
	* Applied Base64 encoding to the 'REPLICATORS.URL_PASSWORD' field in
	the database.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-10-06 16:48:01 -04:00
parent 285a095ada
commit ddd62c10ed
9 changed files with 97 additions and 10 deletions

View File

@@ -227,7 +227,8 @@ void MainObject::LoadReplicators()
config->setQuality(q->value(6).toUInt());
config->setUrl(q->value(7).toString());
config->setUrlUsername(q->value(8).toString());
config->setUrlPassword(q->value(9).toString());
config->
setUrlPassword(QByteArray::fromBase64(q->value(9).toString().toUtf8()));
config->setEnableMetadata(RDBool(q->value(10).toString()));
config->setNormalizeLevel(q->value(11).toInt());
switch(config->type()) {