[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1006911: thunar: Cannot use IPv6 addresses in remote URLs



Package: thunar
Version: 4.16.10-1
Severity: normal
Tags: ipv6

Dear Maintainer,

It seems that Thunar does not properly handle URLs to remote resources that use an IPv6 address for the host.

When I try to enter an FTP address like ftp://[2001:db8::1234]/ for the location, I get an error saying, 'Error resolving "[2001": Name or service not known.'

Similarly, when I enter an SMB address with a username like smb://example@[2001:db8::1234]/ I get an authentication prompt saying, 'Enter password for "[2001".'

Both of these suggest that the URLs are not being parsed correctly.

A workaround is to mount such resources using the "gio mount" command and browse them in Thunar as normal. This suggests that the wrong URL parsing is happening in Thunar and not GIO or GVFS.

I also get generic "connection failed" and similar errors with other kinds of URLs, like smb: without a username, but I suspect the cause is the same.

Philip Chung

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-3-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages thunar depends on:
ii  desktop-file-utils   0.26-1
ii  exo-utils            4.16.3-1
ii  libatk1.0-0          2.36.0-3
ii  libc6                2.33-7
ii  libcairo2            1.16.0-5
ii  libexo-2-0           4.16.3-1
ii  libgdk-pixbuf-2.0-0  2.42.6+dfsg-2
ii  libglib2.0-0         2.70.4-1
ii  libgtk-3-0           3.24.31-1
ii  libgudev-1.0-0       237-2
ii  libice6              2:1.0.10-1
ii  libnotify4           0.7.9-3
ii  libpango-1.0-0       1.50.4+ds-1
ii  libsm6               2:1.2.3-1
ii  libthunarx-3-0       4.16.10-1
ii  libxfce4ui-2-0       4.16.1-1
ii  libxfce4util7        4.16.0-1
ii  libxfconf-0-3        4.16.0-2
ii  shared-mime-info     2.1-2
ii  thunar-data          4.16.10-1

Versions of packages thunar recommends:
ii  dbus-user-session [default-dbus-session-bus]  1.14.0-1
ii  gvfs                                          1.48.1-4
ii  libxfce4panel-2.0-4                           4.16.3-1
ii  policykit-1-gnome [polkit-1-auth-agent]       0.105-7+b1
ii  thunar-volman                                 4.16.0-1
pn  tumbler                                       <none>
ii  udisks2                                       2.9.4-1
ii  xdg-user-dirs                                 0.17-2

Versions of packages thunar suggests:
ii  gvfs-backends             1.48.1-4
ii  thunar-archive-plugin     0.4.0-2+b1
ii  thunar-media-tags-plugin  0.3.0-2+b1

-- no debconf information


Reply to: