mmatuska/mfsbsd

Fails to fetch files with URLs containing trailing forward slash

Opened this issue · 0 comments

Running zfsinstall passing a URL with a trailing slash to the -u option makes the fetch fail for base.txz and kernel.txz.

Example: /root/bin/zfsinstall -d $first_disk -s 2G -u http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.0-RELEASE/ tries to fetch the URL: http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.0-RELEASE//base.txz. Note the double forward slash (//).