Fix curl proxy access for non-authenticated proxy
commit6dbc41a6a7c27e98d28f4a4280cb054f5056cee3
authorNoel Grandin <noel.grandin@collabora.co.uk>
Fri, 18 Aug 2023 11:49:54 +0000 (18 13:49 +0200)
committerAron Budea <aron.budea@collabora.com>
Thu, 28 Sep 2023 19:11:19 +0000 (28 21:11 +0200)
treef21bcf2b41fa0594a269d99fcae90d7bde869b0d
parent29aeafb25efcba6c3dab3b7842f383fcb0eab700
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>
(cherry picked from commit 4b5e94e3d718b6afc571db3cff8321c44436c1ad)
ucb/source/ucp/webdav-curl/CurlSession.cxx