GNU nano - Bugs: bug #57623, ignore external pastes in help,...
You are not allowed to post comments on this tracker with your current authentication level.
bug #57623: ignore external pastes in help, browser and yesno menus
Submitter: | Brand Huntsman <brand> | ||
Submitted: | Sat 18 Jan 2020 02:39:18 AM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Sun 09 Feb 2020 10:27:55 AM UTC, comment #4: |
Benno Schulenberg <bens> |
Sun 26 Jan 2020 11:34:05 AM UTC, comment #3: Ignoring pastes in help viewer and file browser was done in commit a78da18a, ignoring all but the first character at a yes-no prompt is done in commit e3f6638a. |
Benno Schulenberg <bens> |
Fri 24 Jan 2020 06:51:08 PM UTC, comment #2: I didn't like the "Unbound key" message that appeared when pasting into viewer or browser (with your patch), so I've implemented the paste suppression differently, in commit a78da18a. I'm still thinking about what to do at yesno prompts. |
Benno Schulenberg <bens> |
Sun 19 Jan 2020 03:52:22 PM UTC, comment #1: I'm not sure about this one. I can imagine some user not having a keyboard layout with Latin letters and not knowing how to type Y or N or A, and resorting to pasting in the relevant letter from some file. Nano should at least allow pasting in the English letters for Yes, No, and All (and probably also the local ones) at the yes-no prompt. |
Benno Schulenberg <bens> |
Sat 18 Jan 2020 02:39:18 AM UTC, original submission:
Input prompts are now protected from pastes that contain linefeeds, but other menus aren't and execute each character as a possible command. Pasting in help menu might close it and dump to the edit buffer. Pasting in yesno prompt can choose the wrong option. And pasting to the browser can close it and dump to the filename prompt.
|
Brand Huntsman <brand> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-02-09 | bens | Open/Closed | Open | Closed | |
2020-01-26 | bens | Status | In Progress | Fixed | |
2020-01-24 | bens | Status | None | In Progress | |
Assigned to | None | bens | |||
2020-01-19 | bens | Severity | 3 - Normal | 2 - Minor | |
2020-01-18 | brand | Attached File | - | Added ignore-external-pastes-in-help-browser-and-yesno-menus.patch, #48241 |
Powered by Savane 3.13-f8d8.
Corresponding source code
The fixes have been released in version 4.8. Thanks for posting the issue.