diff options
author | callum_linden <none@none> | 2015-10-20 14:44:36 -0700 |
---|---|---|
committer | callum_linden <none@none> | 2015-10-20 14:44:36 -0700 |
commit | c16e726d0e2a8c607ce441eb5bf2419b16b41cab (patch) | |
tree | 871cafe6ac47a75437e852868a066557d128026b /indra/llmessage | |
parent | 2a899b49dd5d0a4ff4b4ab2e36bda48ff1473f0a (diff) |
MAINT-5711 FIX2 auto login for profiles - final part retrieves the URL to set cookie for
from the message sent over by login.cgi
Diffstat (limited to 'indra/llmessage')
-rwxr-xr-x | indra/llmessage/llcurl.cpp | 5 | ||||
-rwxr-xr-x | indra/llmessage/llcurl.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/indra/llmessage/llcurl.cpp b/indra/llmessage/llcurl.cpp index 73df47b933..7e9ae8d108 100755 --- a/indra/llmessage/llcurl.cpp +++ b/indra/llmessage/llcurl.cpp @@ -178,6 +178,11 @@ void LLCurl::Responder::setURL(const std::string& url) mURL = url; } +const std::string& LLCurl::Responder::getURL() +{ + return mURL; +} + void LLCurl::Responder::successResult(const LLSD& content) { setResult(HTTP_OK, "", content); diff --git a/indra/llmessage/llcurl.h b/indra/llmessage/llcurl.h index 385d9fffa8..14d4a14deb 100755 --- a/indra/llmessage/llcurl.h +++ b/indra/llmessage/llcurl.h @@ -147,6 +147,7 @@ public: public: void setHTTPMethod(EHTTPMethod method); void setURL(const std::string& url); + const std::string& Responder::getURL(); void setResult(S32 status, const std::string& reason, const LLSD& content = LLSD()); void setResponseHeader(const std::string& header, const std::string& value); |