diff options
author | Sami Littow <[email protected]> | 2023-04-14 08:54:38 +0300 |
---|---|---|
committer | Sami Littow <[email protected]> | 2023-04-19 14:36:08 +0300 |
commit | 481ae1cb9e52dfe198030e9a4a6e562005f04ca7 (patch) | |
tree | 4365c32ac61766da8d539c4eb60a31a4edcd900d /src/libs/qlicenseservice/request.h | |
parent | b8e7c76ea05ab2ab1dbec0efe547ee2ff259e374 (diff) |
(clitoolhandler.h)
- Server response validity was only checked when requesting longterm reservation
- Could have exploited with telnet
- Server response JSON status field check moved to the beginning of method
(HttpClient, Licenser classes)
- Pass the REST endpoint to the HTTP client per request, rather than
trying to guess it in HTTP client
Change-Id: I13d05b33f1032a91d393e7315552f1b9d391142d
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Arttu Tarkiainen <[email protected]>
Diffstat (limited to 'src/libs/qlicenseservice/request.h')
-rw-r--r-- | src/libs/qlicenseservice/request.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/qlicenseservice/request.h b/src/libs/qlicenseservice/request.h index 7533e4e..1668c92 100644 --- a/src/libs/qlicenseservice/request.h +++ b/src/libs/qlicenseservice/request.h @@ -46,6 +46,7 @@ struct RequestInfo { std::string email; std::string payload; std::string serverAddr; + std::string accessPoint; uint64_t startTimestamp = 0; // used by QA-Tools only uint64_t stopTimestamp = 0; // used by QA-Tools only std::string runnerType; // "qa_tester" || "qa_exe", used by QA-Tools only |