5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-02-09 09:57:40 +03:00
Dominik Csapak 60b9b48e71 require square brackets for ipv6 addresses
we need this, because we append the port to this to get a target url
e.g. we print

format!("https://{}:8007/", address)

if address is now an ipv6 (e.g. fe80::1) it would become

https://fe80::1:8007/ which is a valid ipv6 on its own

by using square brackets we get:

https://[fe80::1]:8007/ which now connects to the correct ip/port

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-09-30 06:16:27 +02:00
..
2020-09-08 06:12:17 +02:00
2020-07-21 13:01:21 +02:00
2020-08-18 14:24:08 +02:00
2019-11-17 17:13:59 +01:00
2020-09-16 16:36:54 +02:00
2020-09-10 15:18:13 +02:00
2019-11-11 19:45:44 +01:00
2019-11-15 13:24:45 +01:00
2020-07-08 18:14:17 +02:00