mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-23 16:45:42 +00:00
choose-files kitten: Sanitize untrusted text in the preview panel
File names, archive member names, symlink targets, error messages and ebook metadata were written to the terminal unsanitized, allowing crafted names to inject escape codes (e.g. OSC 52 to overwrite the clipboard) merely by highlighting the entry.
This commit is contained in:
parent
add52d9cf7
commit
4fa6709910
12 changed files with 246 additions and 36 deletions
|
|
@ -135,6 +135,8 @@ Detailed list of changes
|
|||
|
||||
- Unicode input kitten: Fix searching by name not finding some characters such as the pound sign (:iss:`10862`)
|
||||
|
||||
- choose-files kitten: Sanitize file names, archive member names, ebook metadata and previewer output everywhere they are displayed so they cannot inject escape codes into the terminal
|
||||
|
||||
- :doc:`Custom shaders <custom-shaders>`: Add ``screen-shake`` shaders that shake
|
||||
a window on bell and new events and uniforms for command start/finish and
|
||||
alternate screen enter/exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue