Skip to content

utils/df: Fix remote size estimation for absolute paths

Fina Wilke requested to merge fina/fix-sftp-size-estimate into main

Fixes #344 (closed)

We were removing the first character no matter if the URI was actually pointing to ~ or not. This would make all paths relative, and thus cd would fail. URIs without '~' actually have absolute path components, we should treat them as such.

Checklist

Merge request reports