MaterialFiles icon indicating copy to clipboard operation
MaterialFiles copied to clipboard

Can't open files with SFTP using IPv6

Open 0e4ef622 opened this issue 3 years ago • 5 comments

I can browse files just fine, but I get an error when I try to open one. material_files_ipv6_bug_small

0e4ef622 avatar Jun 06 '22 02:06 0e4ef622

Do you really have a server at [1234:5678:90ab:cdef::]?

zhanghai avatar Jun 06 '22 03:06 zhanghai

Haha no, just a fun way to hide my IP instead of covering it. :P

0e4ef622 avatar Jun 06 '22 15:06 0e4ef622

tried with SMB and it doesn't appear to work either

ZReC avatar Jun 17 '22 23:06 ZReC

I found a workaround, which is to surround the IPv6 address in square brackets when typing it in. This probably also hints at the underlying issue.

0e4ef622 avatar Jun 18 '22 19:06 0e4ef622

Due to the parsing of URIs, that may actually be the right thing to do.

zhanghai avatar Jun 18 '22 20:06 zhanghai