Skip to content

Commit 259d4d1

Browse files
timarcaolanm
authored andcommitted
fix off-by-one error that prevented dowloading LibreOffice Technology logo
regression from a0b123a Signed-off-by: Andras Timar <[email protected]> Change-Id: I8f2b74423fd5c33068b8bb36f6701663f6970564
1 parent 54a489a commit 259d4d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wsd/ClientRequestDispatcher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ void ClientRequestDispatcher::handleIncomingMessage(SocketDisposition& dispositi
804804
std::string proxyRatingServer =
805805
!isUnitTesting ? ProxyRequestHandler::getProxyRatingServer()
806806
: UnitWSD::get().getProxyRatingServer();
807-
ProxyRequestHandler::handleRequest(uri.substr(pos + ProxyRemoteLen), socket,
807+
ProxyRequestHandler::handleRequest(uri.substr(pos + ProxyRemoteLen - 1), socket,
808808
proxyRatingServer);
809809
servedSync = true;
810810
}

0 commit comments

Comments
 (0)