Description: When setting up a remote service with WebDAV, if the user keeps the leading "https://" in the host URL, the service will fail to connect as it only saves "https" as the host. Steps to Reproduce: 1. File > Open Remote... 2. Manage services > Add service 3. Fill in details for a WebDAV connection, keeping the "https://" at the beginning of the URL for the "Host" field (and using "Secure connection" for this example) 4. Click "OK": it fails to connect 5. Click "Manage services > Edit service" Actual Results: The settings: - use "https" as the host - use the port 80 even if "secure connection" was used - have prepended "//<host.url>/:443/" to the root value Expected Results: Host URLs are supported regardless of if they have the leading "https://" or not. Reproducible: Always User Profile Reset: Yes Additional Info: To connect to my NextCloud, I use the following settings: - Type: WebDAV - Host: nextcloud.instance.url (no HTTP(S) at the beginning) - Secure connection ticked (which changes the port to 443) - Label: label of your choice - Root: remote.php/dav/files/USERNAME/ Earliest version tested: Version: 7.0.6.2 Build ID: 00(Build:2) CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Ubuntu package version: 1:7.0.6-0ubuntu0.18.04.1_lo1 Calc: threaded But issue still present in: Version: 7.3.0.2 / LibreOffice Community Build ID: f1c9017ac60ecca268da7b1cf147b10e244b9b21 CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded
Created attachment 177805 [details] resulting erroneous WebDAV settings
*** Bug 148610 has been marked as a duplicate of this bug. ***
Confirming because of duplicate.