URL encode identity and MAC address
This commit is contained in:
parent
5f73d339aa
commit
4698394e21
|
@ -214,8 +214,8 @@ ToolApp::notifyActivation()
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
ss << JSON_URL << "notify/";
|
ss << JSON_URL << "notify/";
|
||||||
ss << "?action=" << action;
|
ss << "?action=" << action;
|
||||||
ss << "&identity=" << identity;
|
ss << "&identity=" << ARCH->internet().urlEncode(identity);
|
||||||
ss << "&mac=" << macHash;
|
ss << "&mac=" << ARCH->internet().urlEncode(macHash);
|
||||||
ss << "&os=" << ARCH->internet().urlEncode(ARCH->getOSName());
|
ss << "&os=" << ARCH->internet().urlEncode(ARCH->getOSName());
|
||||||
ss << "&arch=" << ARCH->internet().urlEncode(ARCH->getPlatformName());
|
ss << "&arch=" << ARCH->internet().urlEncode(ARCH->getPlatformName());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue