From 8f124b3066b9435ac2ffb2a3f85622f950bf6afa Mon Sep 17 00:00:00 2001 From: Nimetu Date: Fri, 3 May 2019 00:26:12 +0300 Subject: [PATCH] Changed: Add extra url parameters only for trusted domain requests --HG-- branch : develop --- code/ryzom/client/src/interface_v3/group_html_webig.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/ryzom/client/src/interface_v3/group_html_webig.cpp b/code/ryzom/client/src/interface_v3/group_html_webig.cpp index ea885f17b..8d6ea05af 100644 --- a/code/ryzom/client/src/interface_v3/group_html_webig.cpp +++ b/code/ryzom/client/src/interface_v3/group_html_webig.cpp @@ -71,6 +71,9 @@ static string getWebAuthKey() void addWebIGParams (string &url, bool trustedDomain) { + // no extras parameters added to url if not in trusted domains list + if (!trustedDomain) return; + if(!UserEntity || !NetMngr.getLoginCookie().isValid()) return; uint32 cid = NetMngr.getLoginCookie().getUserId() * 16 + PlayerSelectedSlot;