Dear Patrick,
attached requested patch.
Kind regards,
Ingo Flaschberger
Am 10.01.2018 um 10:58 schrieb Patrick Ohly:
On Tue, 2018-01-09 at 19:28 +0100, Ingo Flaschberger wrote:
Dear Patrick,
it works if you replace:
manager.add_password(None, parsed_url, parsed_url.username,
parsed
On Tue, 2018-01-09 at 19:28 +0100, Ingo Flaschberger wrote:
> Dear Patrick,
>
> it works if you replace:
> manager.add_password(None, parsed_url, parsed_url.username,
> parsed_url.password)
> with:
> manager.add_password(None, new_url, parsed_url.username,
> parsed_url.password)
I as
Dear Patrick,
it works if you replace:
manager.add_password(None, parsed_url, parsed_url.username,
parsed_url.password)
with:
manager.add_password(None, new_url, parsed_url.username,
parsed_url.password)
Kind regards,
Ingo Flaschberger
Am 09.01.2018 um 17:57 schrieb Patrick Ohl
On Thu, 2017-12-21 at 00:18 +0100, Ingo Flaschberger wrote:
> Dear Patrick,
>
> this doesn't work:
> 0162: """
> 0163: parsed_url = urllib.parse.urlsplit(url)
> 0164: if parsed_url.username != None:
> 0165: # Use the netloc with just the hostname, without
>
Dear Patrick,
this doesn't work:
0162: """
0163: parsed_url = urllib.parse.urlsplit(url)
0164: if parsed_url.username != None:
0165: # Use the netloc with just the hostname, without
username/password.
*** 0166: parsed_url.netloc = parsed_url.hostname
Downloading content and version information via HTTP may need a
username/password for basic authentication. To support this,
SWUPD_VERSION_URL and SWUPD_CONTENT_URL can now contain URLs of the
form http(s)://:@/.
Original patch from: Ingo Flaschberger
Signed-off-by: Patrick Ohly
---
lib/swupd/