Ref T456, remove "{}" from UUID

This commit is contained in:
Klaus Basan
2018-12-14 05:26:18 +01:00
parent 71de01065b
commit 8ec5735185

View File

@@ -153,7 +153,11 @@ namespace BlackCore
CUrl pingUrl = this->getDbClientPingServiceUrl(); CUrl pingUrl = this->getDbClientPingServiceUrl();
if (pingUrl.isEmpty()) { CUrl(); } if (pingUrl.isEmpty()) { CUrl(); }
pingUrl.appendQuery("uuid", this->identifier().toUuidString()); QString uuid = this->identifier().toUuidString();
uuid.remove('{');
uuid.remove('}');
pingUrl.appendQuery("uuid", uuid);
pingUrl.appendQuery("application", sApp->getApplicationNameAndVersion()); pingUrl.appendQuery("application", sApp->getApplicationNameAndVersion());
if (type.testFlag(PingLogoff)) { pingUrl.appendQuery("logoff", "true"); } if (type.testFlag(PingLogoff)) { pingUrl.appendQuery("logoff", "true"); }
if (type.testFlag(PingShutdown)) { pingUrl.appendQuery("shutdown", "true"); } if (type.testFlag(PingShutdown)) { pingUrl.appendQuery("shutdown", "true"); }