From c16e726d0e2a8c607ce441eb5bf2419b16b41cab Mon Sep 17 00:00:00 2001 From: callum_linden Date: Tue, 20 Oct 2015 14:44:36 -0700 Subject: MAINT-5711 FIX2 auto login for profiles - final part retrieves the URL to set cookie for from the message sent over by login.cgi --- indra/llmessage/llcurl.cpp | 5 +++++ indra/llmessage/llcurl.h | 1 + 2 files changed, 6 insertions(+) (limited to 'indra/llmessage') 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); -- cgit v1.2.3 From 0c3c3347c79e61a34dfebc01ca75100d2afb4073 Mon Sep 17 00:00:00 2001 From: callum_linden Date: Tue, 20 Oct 2015 17:25:42 -0700 Subject: silly typo that builds on windows - this fixes mac/linux builds --- indra/llmessage/llcurl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llmessage') diff --git a/indra/llmessage/llcurl.h b/indra/llmessage/llcurl.h index 14d4a14deb..34758433c8 100755 --- a/indra/llmessage/llcurl.h +++ b/indra/llmessage/llcurl.h @@ -147,7 +147,7 @@ public: public: void setHTTPMethod(EHTTPMethod method); void setURL(const std::string& url); - const std::string& Responder::getURL(); + const std::string& getURL(); void setResult(S32 status, const std::string& reason, const LLSD& content = LLSD()); void setResponseHeader(const std::string& header, const std::string& value); -- cgit v1.2.3