Skip to content

1.1.1

Latest
Compare
Choose a tag to compare
@reinerh reinerh released this 19 Jan 15:10
1.1.1

This release fixes a problem when building the server with musl and running it as root (so it will chroot to the destination directory). In this case all requests had been denied, because the server would perform a check if a requested path is allowed after canonicalizing it.
To canonicalize the paths, realpath(3) is used, which requires a mounted /proc filesystem in musl.
As the check is not meaningful anyway when serving files inside a chrooted directory, it is now skipped in this case.