Drag from Files into Terminal produces incorrect path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminal |
Fix Released
|
Low
|
Akshay Shekher |
Bug Description
Not sure whether this should be a Files or Pantheon Terminal problem.
When a file item is drag-and-dropped from Files to Terminal, the absolute path of the file item is inputted (surrounded by single quotes). But the path seems to be percent-escaped, which is incorrect. As the path is already surrounded by quotes, no escapes are needed. Even if you want to escape the path string (and then the quotes should be removed), it should be backslash-escaped, not percent-escaped.
In URI reserved characters, ';' (semicolon), '?' (question mark), '#' (pound sign), '[' and ']' (square brackets) are incorrectly escaped, while others are inputted correctly (except '/', of course). Space is also incorrectly escaped. I didn't try non-ASCII characters.
Changed in pantheon-terminal: | |
status: | New → Confirmed |
importance: | Undecided → Low |
milestone: | none → 0.2 |
Changed in pantheon-terminal: | |
assignee: | nobody → Akshay Shekher (voldyman) |
Changed in pantheon-terminal: | |
status: | Confirmed → Fix Committed |
milestone: | 0.2 → luna-beta2 |
Changed in pantheon-terminal: | |
status: | Fix Committed → Fix Released |