Created attachment 230068 [details] Patch files from .../sysutils/fusefs-curlftpfs/files Trying to open a remote directory with spaces or special characters in the name results in it not opening at all because the requested URI is invalid. Same issue as described here and patch is also available: https://sourceforge.net/p/curlftpfs/bugs/65/ I attached the patch files I created in .../sysutils/fusefs-curlftpfs/files that fix the problem.
Bug also described here: https://bugs.gentoo.org/458110
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=096cc027d44676807ab37ff140ed51f69bc85797 commit 096cc027d44676807ab37ff140ed51f69bc85797 Author: Rodrigo Osorio <rodrigo@FreeBSD.org> AuthorDate: 2021-12-19 07:20:12 +0000 Commit: Rodrigo Osorio <rodrigo@FreeBSD.org> CommitDate: 2021-12-30 22:34:55 +0000 sysutils/fusefs-curlftpfs: Patch to escape un-encoded URL Add patch files from Gentoo[1] to escape un-encoded URLs passed to libcurl causing infinite wait as reported in this issue[2]. CurlFTPFS project seems unmaintained for the last 4 years, so we apply the fixes in the port itself just like ofther projects does. [1] https://gitweb.gentoo.org/repo/gentoo.git/plain/net-fs/curlftpfs/files/curlftpfs-0.9.2-fix-escaping.patch [2] https://sourceforge.net/p/curlftpfs/bugs/65/ PR: 260371 Obtained from: Gentoo Repo (https://gitweb.gentoo.org/repo/gentoo.git/tree/net-fs/curlftpfs/files/curlftpfs-0.9.2-fix-escaping.patch) sysutils/fusefs-curlftpfs/Makefile | 2 +- .../fusefs-curlftpfs/files/patch-ftpfs.c (new) | 304 +++++++++++++++++++++ .../files/patch-path__utils.c (new) | 75 +++++ .../files/patch-path__utils.h (new) | 14 + 4 files changed, 394 insertions(+), 1 deletion(-)
Committed, thanks