Open halpz opened 2 years ago
I guess [
and ]
should be URI encoded.
Try
ftp://username:password@185.22.165.198/files/Eric_Andre_Show/The.Eric.Andre.Show.S05E02.1080p.WEB.h264-BAE%5Brarbg%5D/The.Eric.Andre.Show.S05E02.1080p.WEB.h264-BAE.mkv
i was bringing it up as this works in infuse and vlc - and I looked at the code and it should be escaping the strings anyway, but doesnt seem to work still:
in OpenURLWindowController.swift :
guard var urlValue = trimmedUrlString.addingPercentEncoding(withAllowedCharacters: .urlAllowed) else {
return (nil, false)
}
i would test changes, but I cant get the project to build in xcode
They must be encoded separately. For example %
in Series%203
, you can't know whether it has been encoded or not. With withAllowedCharacters: .urlAllowed
, they will be always preserved.
when trying to open a file on my FTP server where there are filenames / directories with whitespace or square brackets, the stream fails to open.
SFTP doesnt work at all
i am pasting the link using shift+cmd+O and here are a list of example links (personal info changed:)
Links that work:
links that dont work: