quote filename on dnd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Terminal |
Fix Released
|
Low
|
|||
gnome-terminal (Ubuntu) |
Fix Released
|
Undecided
|
Ubuntu Desktop Bugs |
Bug Description
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.
Changed in gnome-terminal: | |
status: | Unknown → Fix Released |
Changed in gnome-terminal: | |
importance: | Unknown → Low |
Thanks for your bug report. I mark it Fix Committed, as it will land in Ubuntu Edgy with the next release. Thanks a lot.