Bug#638699: [Pkg-xfce-devel] Bug#638699: exo-open fails to open a filename with a hash (#)
This has been fixed in release 0.10.7-1 (available in stretch). The core issue here was that exo-open did not properly escape filenames before sending them to gobject/glib, so files with a number sign (#) in their name would get cut off, due to glib removing what it saw as a URI fragment. This was reported in https://bugzilla.xfce.org/show_bug.cgi?id=9912 and fixed with http://git.xfce.org/xfce/exo/commit/?id=6faf134307a8f651c09931ae4f7017ce141f6320, so this issue should be resolved. On Sun, 21 Aug 2011 10:13:50 +0200 Mathias Brodalawrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi. > > Baruch Even, 21.08.2011 09:40: > > Package: exo-utils > > This should be blamed on gobject/glib. > > > Trying to open a doc file that is named: /tmp/a#.doc with the command: > > exo-open /tmp/a#.doc > > This fails with the message: > > Failed to open URI "file:///tmp/a#.doc". > > Error stating file '/tmp/a': No such file or directory. > > Most likely related to this one: > > https://bugzilla.gnome.org/show_bug.cgi?id=655194 > (gio.File ignores uri fragments on file:// URIs) > > There’s nothing exo can do here except wait for gobject/glib to fix this > issue. > > > Regards, Mathias > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.11 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk5QvjYACgkQYfUFJ3ewsJgOGACfQJ+pzHOMUtbQrkobemF9Nv6K > gCoAoJ61V30cNWYyS4OO9ASgHwz1Fgt3 > =sF7F > -END PGP SIGNATURE- > > >
Bug#638699: exo-open fails to open a filename with a hash (#)
Package: exo-utils Version: 0.6.2-1 Severity: normal Trying to open a doc file that is named: /tmp/a#.doc with the command: exo-open /tmp/a#.doc This fails with the message: Failed to open URI file:///tmp/a#.doc. Error stating file '/tmp/a': No such file or directory. Using less on the same filename works (to the extent that less can open the file). This is a reduced test case from a longer filename the constantly fails for me and contains multiple hashes and other unnatural characters. Baruch -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#638699: [Pkg-xfce-devel] Bug#638699: exo-open fails to open a filename with a hash (#)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. Baruch Even, 21.08.2011 09:40: Package: exo-utils This should be blamed on gobject/glib. Trying to open a doc file that is named: /tmp/a#.doc with the command: exo-open /tmp/a#.doc This fails with the message: Failed to open URI file:///tmp/a#.doc. Error stating file '/tmp/a': No such file or directory. Most likely related to this one: https://bugzilla.gnome.org/show_bug.cgi?id=655194 (gio.File ignores uri fragments on file:// URIs) There’s nothing exo can do here except wait for gobject/glib to fix this issue. Regards, Mathias -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5QvjYACgkQYfUFJ3ewsJgOGACfQJ+pzHOMUtbQrkobemF9Nv6K gCoAoJ61V30cNWYyS4OO9ASgHwz1Fgt3 =sF7F -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org