summaryrefslogtreecommitdiffstats
path: root/wsd/Storage.hpp
diff options
context:
space:
mode:
authorRash419 <rashesh.padia@collabora.com>2022-03-17 14:08:33 +0530
committerAndras Timar <andras.timar@collabora.com>2022-03-21 21:46:49 +0100
commit97b2fd11cb40e7740ddd42d7519f002ea48a71a5 (patch)
treebe660b13cdbb40a3a34d5c9609b7c69fa3c94c7c /wsd/Storage.hpp
parentwsd: use get/set Authority to extract host + port (diff)
downloadonline-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.hpp2
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: