File names are percent-encoded when connect to webdav server

Bug #1828123 reported by Tom Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Unknown
Nginx
New
Undecided
Unassigned
libnginx-mod-http-dav-ext (Ubuntu)
Incomplete
Undecided
Unassigned
nginx (Ubuntu)
Invalid
Low
Unassigned

Bug Description

When I connected to a Webdav server set up by nginx using the default file manager, some non-English characters in file and folder names are displayed as percent-encoded(url-encoded). For example, "%E4%B8%8D%E5%AE%89%E4%B8%8E%E6%AC%B2%E6%9C%9B" is displayed instead of "不安与欲望", and the " "(space) in a file name is displayed as "%20". Once I copied those files to local disk, the file names are displayed correctly.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. What Ubuntu/nautilus version do you use?
Does "gio ls dav://:..." has the same issue or is it specific to nautilus?

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Tom Yang (wyh-aaron) wrote :

I'm using nautilus 3.32 on Ubuntu 19.04. "gio list dav://..." works perfectly fine, so the issue is specific to nautilus. Please see the following screenshot.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank for the version info and the screenshot. It does indeed look like a nautilus bug there and it should be sent upstream to https://gitlab.gnome.org/GNOME/nautilus/issues/ . Do you think you can do that or would you prefer us to handle that part?

Changed in nautilus (Ubuntu):
status: Incomplete → New
Revision history for this message
Tom Yang (wyh-aaron) wrote :

I have already opened an issue there. Thank you!

Revision history for this message
Sebastien Bacher (seb128) wrote :

It would have been useful to mention it and share the reference, I went to look for it now
https://gitlab.gnome.org/GNOME/nautilus/issues/1024

Changed in nautilus (Ubuntu):
status: New → Triaged
Changed in nautilus:
status: Unknown → New
Changed in nautilus:
status: New → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue is an nginx one

affects: nautilus (Ubuntu) → nginx (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

This bug is marked by nginx maintainers as invalid and it seems that the issue is in the plugin:

https://github.com/arut/nginx-dav-ext-module/issues/44

Is this still reproducible in the latest Ubuntu release (23.10) where we have libnginx-mod-http-dav-ext version 1:3.0.0-4?

It seems that at the time this bug was reported this module was not packaged as a separate source package.

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Just confirming what Lucas said above: the issue seems to be with the plugin, not nginx.

According to https://github.com/arut/nginx-dav-ext-module/issues/44#issuecomment-670491952, the issue has been fixed (I haven't tested it to confirm). I also confirmed that the plugin we ship seems to have the proper fix (https://git.launchpad.net/ubuntu/+source/libnginx-mod-http-dav-ext/tree/ngx_http_dav_ext_module.c?h=applied/ubuntu/devel#n1745).

I'm marking this bug as Invalid for nginx and adding libnginx-mod-http-dav-ext as Incomplete to reflect the fact that we need confirmation if the bug is still present or not.

Changed in nginx (Ubuntu):
status: Triaged → Invalid
Changed in libnginx-mod-http-dav-ext (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.