mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-10 13:25:25 +03:00
6976b1dce4
This commit prevents specially crafted modelines from making the editor execute arbitrary Kakoune commands. By using a tabulation character as a separator, commands can be injected in the value of the options listed in the modeline. For example: # kak: tabstop=2;set-option buffer pwned yes Fixes #3735. |
||
---|---|---|
.. | ||
editorconfig.kak | ||
file.kak | ||
modeline.kak |