[Bug 54602] quote filename on dnd
Thomas Folz-Donahue
eigenlambda at gmail.com
Mon Jul 31 02:18:34 UTC 2006
Public bug reported:
Binary package hint: gnome-terminal
In gnome-terminal, for anyone who does not already use this feature,
when a user drags something into a terminal window, the URI is copied
into the terminal. Local filenames are even converted from full
"file://" URIs to simple path names. This is a really cool feature.
However, many filenames in the wild have evil characters such as
!#&*()[]{}"'`<>,; and whitespace. If, for example, you were to
download a .torrent from mininova.org, and then type 'azureus ' into
the terminal and try to drag and drop the filename, bash would
complain about the characters in that filename.
The solution is to escape those characters before inserting the
filename.
I wrote a patch for this, which has been accepted into the upstream cvs-
head. However, this patch can just as easily be applied to the current
ubuntu package, while simply packaging the modified upstream would
require a library change. The relevant upstream bug is #85926.
** Affects: gnome-terminal (upstream)
Importance: Unknown
Status: Unknown
** Affects: gnome-terminal (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
** Bug watch added: GNOME Bug Tracker #85926
http://bugzilla.gnome.org/show_bug.cgi?id=85926
** Also affects: gnome-terminal (upstream) via
http://bugzilla.gnome.org/show_bug.cgi?id=85926
Importance: Unknown
Status: Unknown
--
quote filename on dnd
https://launchpad.net/bugs/54602
More information about the desktop-bugs
mailing list