diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2020-06-20 15:12:13 -0400 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2020-07-01 07:35:00 +0200 |
commit | 5cf0273c7fcc10b85a4aeaaef20d602dd1bd1969 (patch) | |
tree | 34f7bd1a9fa2dbf61ae81138c44147686fe43232 /wsd/RequestDetails.hpp | |
parent | wsd: Authorization parsing and creation improvements (diff) | |
download | online-5cf0273c7fcc10b85a4aeaaef20d602dd1bd1969.tar.gz online-5cf0273c7fcc10b85a4aeaaef20d602dd1bd1969.zip |
wsd: parse the URI params of the URI and DocumentURI
Change-Id: Iefc8c10ff85270aa95f255cef29b3427a0efcfe6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96826
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'wsd/RequestDetails.hpp')
-rw-r--r-- | wsd/RequestDetails.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wsd/RequestDetails.hpp b/wsd/RequestDetails.hpp index e55f28535a..93dd4ff50f 100644 --- a/wsd/RequestDetails.hpp +++ b/wsd/RequestDetails.hpp @@ -119,6 +119,7 @@ private: StringVector _pathSegs; std::map<std::string, std::string> _params; std::map<Field, std::string> _fields; + std::map<std::string, std::string> _docUriParams; void processURI(); @@ -134,6 +135,8 @@ public: /// The DocumentURI, decoded. Doesn't contain WOPISrc or any other appendages. std::string getDocumentURI() const { return getField(Field::DocumentURI); } + const std::map<std::string, std::string>& getDocumentURIParams() const { return _docUriParams; } + std::string getURI() const { return _uriString; |