Fix curl proxy access for non-authenticated proxy
commit4b5e94e3d718b6afc571db3cff8321c44436c1ad
authorNoel Grandin <noel.grandin@collabora.co.uk>
Fri, 18 Aug 2023 11:49:54 +0000 (18 13:49 +0200)
committerMichael Stahl <michael.stahl@allotropia.de>
Thu, 28 Sep 2023 13:03:11 +0000 (28 15:03 +0200)
tree30dcdd505f48fd988ada1cebae7fcdebf314fb6b
parent60e2fdf1d7e8346e5a3835369c47e582c737ce20
Fix curl proxy access for non-authenticated proxy

If rSession.m_Proxy.aName is a simple host-name, the CurlUri constructor
will fail with CURLUE_BAD_SCHEME, so just ignore the error here,
we only care about parsing out the username/password

Change-Id: Iec2d6e7315a5899ddddf6120a43199b75bf62db2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155834
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 9b30b4b1678e8be15ba51d236bd9a3e693d8d3d6)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157318
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
ucb/source/ucp/webdav-curl/CurlSession.cxx