diff options
author | Kelly Washington <kelly@lindenlab.com> | 2012-10-25 10:53:58 -0700 |
---|---|---|
committer | Kelly Washington <kelly@lindenlab.com> | 2012-10-25 10:53:58 -0700 |
commit | b014d949d7a294068dfe2367faee8f2006ec22af (patch) | |
tree | 8d84a57a8487907da42af7e7f428c06c544f5773 /indra | |
parent | d41eaa2e3d9eeaeb06a593d9e3dcbdd4174cecea (diff) |
MAINT-1275 [SECURITY] Web session tokens saved in SecondLife.log
reviewed with Simon
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewermedia.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 1eb4bedfaf..ec48fa553b 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -316,9 +316,13 @@ public: /* virtual */ void completedHeader(U32 status, const std::string& reason, const LLSD& content) { LL_WARNS("MediaAuth") << "status = " << status << ", reason = " << reason << LL_ENDL; - LL_WARNS("MediaAuth") << content << LL_ENDL; + + LLSD stripped_content = content; + stripped_content.erase("set-cookie"); + LL_WARNS("MediaAuth") << stripped_content << LL_ENDL; std::string cookie = content["set-cookie"].asString(); + LL_DEBUGS("MediaAuth") << "cookie = " << cookie << LL_ENDL; LLViewerMedia::getCookieStore()->setCookiesFromHost(cookie, mHost); |