Ticket #3253 (closed defect: fixed)

Opened 10 years ago

Last modified 9 years ago

Quick view blocks some characters from typing to the command line

Reported by: egmont Owned by: andrew_b
Priority: major Milestone: 4.8.14
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

Choose "Quick view" in one of the panels, and press Tab to make it focused.

Some keys are handled by the viewer, while some other keys (including Enter) are passed to the command line.

This is very dangerous since you can easily type and execute a harmful command.

E.g. type

ls > desktop.txt

and then press Enter.

The command executed will be

s>stop.txt

wiping out your "stop.txt" file.

Either all characters, enter, backspace, and perhaps also left-right arrows should be passed to the command line (but that would limit the quick viewer's usability), or none (so you'd have to press Tab to go back to the file listing panel to type your command, I guess I'd vote for this).

Change History

comment:1 Changed 9 years ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.14

Branch: 3253_quickview_commandline
Initial changeset:[c1215bbaa7358a58e0108fb7c9316a522ecc98de].

comment:2 Changed 9 years ago by slavazanko

  • Votes for changeset set to slavazanko
  • Branch state changed from on review to approved

comment:3 Changed 9 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from slavazanko to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:4 Changed 9 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.