Support NFS IPv6
gio doesn't seem to support mounting NFS exports with IPv6 addresses.
Given an NFS export which can be mounted like so:
mount -t nfs 192.0.2.1:/srv/nfs /mnt
mount -t nfs [2001:db8:85a3:8d3:1319:8a2e:370:7348]:/srv/nfs /mnt
mount -t nfs [fe80::1ff:fe23:4567:890a%eth0]:/srv/nfs /mnt
gio can mount the IPv4 address (trailing colon optional) without issue.
gio mount nfs://192.0.2.1:/srv/nfs
gio fails to mount the IPv6 address (regardless of the presence of braces or trailing colon).
gio mount nfs://[2001:db8:85a3:8d3:1319:8a2e:370:7348]:/srv/nfs
gio mount nfs://[fe80::1ff:fe23:4567:890a%eth0]:/srv/nfs
The error is Mount point does not exist
.
The other protocols have IPv6 support from #483 (closed). It would be nice if gio added NFS IPv6 support.