diff options
author | Rash419 <rashesh.padia@collabora.com> | 2022-03-17 14:08:33 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-03-21 21:46:49 +0100 |
commit | 97b2fd11cb40e7740ddd42d7519f002ea48a71a5 (patch) | |
tree | be660b13cdbb40a3a34d5c9609b7c69fa3c94c7c /wsd/Storage.hpp | |
parent | wsd: use get/set Authority to extract host + port (diff) | |
download | online-97b2fd11cb40e7740ddd42d7519f002ea48a71a5.tar.gz online-97b2fd11cb40e7740ddd42d7519f002ea48a71a5.zip |
wsd: added new method to check allowed Aliases
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I24fab96ff977d3f0a85c98257e779216f50dc92f
Diffstat (limited to 'wsd/Storage.hpp')
-rw-r--r-- | wsd/Storage.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wsd/Storage.hpp b/wsd/Storage.hpp index 50938466f8..28456985fe 100644 --- a/wsd/Storage.hpp +++ b/wsd/Storage.hpp @@ -338,6 +338,8 @@ public: /// is accessed using different aliases static std::string getNewUri(const Poco::URI& uri); + static bool allowedAlias(const Poco::URI& uri); + static void addWopiHost(std::string host, bool allow); protected: |