desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #157289
[Bug 1183665] Re: nautilus passes invalid URIs to bulk-rename-tool
File names received from GList parameter in
invoke_external_bulk_rename_utility are URL-encoded. Spaces in names
replaced with '%20' literal.
Glib processes arguments and checks if for macro literals. It treats '%20' as macro '%2' and symbol '0'. So it filters out '%2' and leaves only zero.
E.g. 'file:///long%20directory/file%20name' will be translated to 'file:///long0directory/file0name'
One of the possible solutions is to URL-unescape file names.
** Patch added: "1183665.diff"
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1183665/+attachment/4552883/+files/1183665.diff
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1183665
Title:
nautilus passes invalid URIs to bulk-rename-tool
Status in nautilus package in Ubuntu:
Confirmed
Bug description:
Spaces or cyrillic symbols in folder names are not passed correctly.
For example, for the selected files "/home/user/untitled/untitled
folder/testfile*"", nautilus passes the following URIs as arguments:
file:///home/user/untitled/untitled02/testfile1
file:///home/user/untitled/untitled02/testfile2
And for "/home/user/untitled/папка/testfile*", the following URIs:
file:///home/user/untitled/0F000F0A00/testfile1
file:///home/user/untitled/0F000F0A00/testfile2
Reprod on: 3.4.2 (me), 3.6.3 (me), 3.8.1
Originally reported in nautilus-renamer:
https://bugs.launchpad.net/nautilus-renamer/+bug/1140872
https://bugs.launchpad.net/nautilus-renamer/+bug/1166327
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: nautilus 1:3.6.3-0ubuntu16
ProcVersionSignature: Ubuntu 3.8.0-21.32-generic 3.8.8
Uname: Linux 3.8.0-21-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Fri May 24 08:02:22 2013
GsettingsChanges:
b'org.gnome.nautilus.window-state' b'geometry' b"'1025x628+195+61'"
b'org.gnome.nautilus.window-state' b'sidebar-width' b'183'
InstallationDate: Installed on 2012-12-24 (150 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: nautilus
UpgradeStatus: Upgraded to raring on 2013-04-25 (28 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1183665/+subscriptions