bugGNU 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

Submitted by:  Brand Huntsman <brand>
Submitted on:  Sat 18 Jan 2020 02:39:18 AM UTC  
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Closed

Sun 09 Feb 2020 10:27:55 AM UTC, comment #4: 

The fixes have been released in version 4.8.  Thanks for posting the issue.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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.

This fixes all three cases by ignoring bracketed pastes and beeping.

Brand Huntsman <brand>

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by brand (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-09 bens Open/ClosedOpen => Closed
    2020-01-26 bens StatusIn Progress => Fixed
    2020-01-24 bens StatusNone => In Progress
        Assigned toNone => bens
    2020-01-19 bens Severity3 - Normal => 2 - Minor
    2020-01-18 brand Attached File- => Added ignore-external-pastes-in-help-browser-and-yesno-menus.patch, #48241

    Back to the top


    Powered by Savane 3.7