diff options
Diffstat (limited to 'linden/indra/llcommon/lluri.h')
-rw-r--r-- | linden/indra/llcommon/lluri.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/linden/indra/llcommon/lluri.h b/linden/indra/llcommon/lluri.h index 3246dcd..bfe673c 100644 --- a/linden/indra/llcommon/lluri.h +++ b/linden/indra/llcommon/lluri.h | |||
@@ -107,7 +107,7 @@ public: | |||
107 | BOOL defaultPort() const; // true if port is default for scheme | 107 | BOOL defaultPort() const; // true if port is default for scheme |
108 | const std::string& escapedPath() const { return mEscapedPath; } | 108 | const std::string& escapedPath() const { return mEscapedPath; } |
109 | std::string path() const; // ex.: "/abc/def", includes leading slash | 109 | std::string path() const; // ex.: "/abc/def", includes leading slash |
110 | // LLSD pathArray() const; // above decoded into an array of strings | 110 | LLSD pathArray() const; // above decoded into an array of strings |
111 | std::string query() const; // ex.: "x=34", section after "?" | 111 | std::string query() const; // ex.: "x=34", section after "?" |
112 | const std::string& escapedQuery() const { return mEscapedQuery; } | 112 | const std::string& escapedQuery() const { return mEscapedQuery; } |
113 | LLSD queryMap() const; // above decoded into a map | 113 | LLSD queryMap() const; // above decoded into a map |
@@ -135,6 +135,11 @@ public: | |||
135 | //@} | 135 | //@} |
136 | 136 | ||
137 | private: | 137 | private: |
138 | // only "http", "https", "ftp", and "secondlife" schemes are parsed | ||
139 | // secondlife scheme parses authority as "" and includes it as part of | ||
140 | // the path. See lluri_tut.cpp | ||
141 | // i.e. secondlife://app/login has mAuthority = "" and mPath = "/app/login" | ||
142 | void parseAuthorityAndPathUsingOpaque(); | ||
138 | std::string mScheme; | 143 | std::string mScheme; |
139 | std::string mEscapedOpaque; | 144 | std::string mEscapedOpaque; |
140 | std::string mEscapedAuthority; | 145 | std::string mEscapedAuthority; |