diff options
author | Rash419 <rashesh.padia@collabora.com> | 2023-08-28 13:11:42 +0530 |
---|---|---|
committer | Rashesh Padia <rasheshpadia419@gmail.com> | 2023-08-28 16:12:41 +0530 |
commit | 3ce8c1b224063c40127c24e62c6e223ef64dd370 (patch) | |
tree | e823ebc9a9e3ffc64fbf6c8ec1344a9a07e78280 /wsd/COOLWSD.cpp | |
parent | admin: use sendTextFrame for verifyauth msg (diff) | |
download | online-3ce8c1b224063c40127c24e62c6e223ef64dd370.tar.gz online-3ce8c1b224063c40127c24e62c6e223ef64dd370.zip |
feature_lock: fix unlock_image option not working
- regression from ec17f72fb516e8b68fac669f9bd0a28c1264f9a3
- also removed the restriction to have "static" in unlock_image
url
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ie4f1170fb6a12db5218fb28f21d78f88ebc61d56
Diffstat (limited to 'wsd/COOLWSD.cpp')
-rw-r--r-- | wsd/COOLWSD.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsd/COOLWSD.cpp b/wsd/COOLWSD.cpp index 57b10a9146..04213c3f66 100644 --- a/wsd/COOLWSD.cpp +++ b/wsd/COOLWSD.cpp @@ -3932,7 +3932,7 @@ private: { const std::string& serverUri = unlockImageUri.getScheme() + "://" + unlockImageUri.getAuthority(); - ProxyRequestHandler::handleRequest(uri.substr(pos + ProxyRemoteLen), + ProxyRequestHandler::handleRequest(uri.substr(pos + sizeof("/remote/static") - 1), socket, serverUri); } } |