ucb/source/ucp/webdav-curl/CurlSession.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 9352ba337a84672a0ba60651023422de88105456 Author: Michael Stahl <[email protected]> AuthorDate: Tue Jul 19 14:12:38 2022 +0200 Commit: Michael Stahl <[email protected]> CommitDate: Tue Jul 19 14:23:59 2022 +0200 ucb: webdav-curl: try to auth on 403 This is just for testing, don't ship. Change-Id: Ic2344c61cbe3cf419b698be526a20388c0ef4f37 diff --git a/ucb/source/ucp/webdav-curl/CurlSession.cxx b/ucb/source/ucp/webdav-curl/CurlSession.cxx index 4fe05ab97e72..c3fd76062e2c 100644 --- a/ucb/source/ucp/webdav-curl/CurlSession.cxx +++ b/ucb/source/ucp/webdav-curl/CurlSession.cxx @@ -1373,6 +1373,12 @@ auto CurlProcessor::ProcessRequest( } break; } + case SC_FORBIDDEN: // treat as 401, just for testing! + if (rSession.m_isAuthenticated) + { + break; + } + [[fallthrough]]; case SC_UNAUTHORIZED: case SC_PROXY_AUTHENTICATION_REQUIRED: {
