From 8ec57351858b5dbdb179af22aa6972cffa983a01 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Fri, 14 Dec 2018 05:26:18 +0100 Subject: [PATCH] Ref T456, remove "{}" from UUID --- src/blackcore/data/globalsetup.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/blackcore/data/globalsetup.cpp b/src/blackcore/data/globalsetup.cpp index e8135f027..6fd4b6160 100644 --- a/src/blackcore/data/globalsetup.cpp +++ b/src/blackcore/data/globalsetup.cpp @@ -153,7 +153,11 @@ namespace BlackCore CUrl pingUrl = this->getDbClientPingServiceUrl(); 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()); if (type.testFlag(PingLogoff)) { pingUrl.appendQuery("logoff", "true"); } if (type.testFlag(PingShutdown)) { pingUrl.appendQuery("shutdown", "true"); }