Open davidearl opened 5 years ago
Assuming that http-send-url
really means send-http-url:
is probably the setup code, but I don't see it trying to set up HttpWebRequest.Credentials Property, so this is likely a feature gap. There are many ways to authenticate, so this enhancement
could go on and on, but it's arguably missing code, not broken code.
Exactly the same URL works fine directly in Chrome or cURL
Both focus on URLs, so that's not very surprising. For a workaround, perhaps use run-script-after and curl
. See Example Scripts.
missing code, not broken code
A bug by any other name would smell as sweet
WebRequest.Create(m_url)
Why would WebRequest censor a URL like that?
For a workaround...
Well, it was five years ago, so I rather think the moment has passed! IIRC I used email instead. But thank you anyway.
Environment info
Description
I am trying to use http-send-url to post logs to a URL of the form https://USER:PASSWORD@domain:PORT/... i.e. with Basic Auth. PORT seems OK (the server responds), but I get a 401 Unauthorized response from the server, Exactly the same URL works fine directly in Chrome or cURL. It appears Duplicati isn't handling URLs of that form correctly.
Steps to reproduce
Screenshots
Debug log