diff options
author | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:19 -0500 |
commit | b235c59d60472f818a9142c0886b95a0ff4191d7 (patch) | |
tree | d323c55587584b19cc43a03f58a178823f12d3cd /linden/indra/llcommon/lluri.h | |
parent | Second Life viewer sources 1.18.5.3 (diff) | |
download | meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.zip meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.gz meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.bz2 meta-impy-b235c59d60472f818a9142c0886b95a0ff4191d7.tar.xz |
Second Life viewer sources 1.18.6.0-RC
Diffstat (limited to '')
-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; |