Skip to content

quote prefix passed to compgen in FilesCompleter#551

Open
sahvx655-wq wants to merge 1 commit into
kislyuk:mainfrom
sahvx655-wq:compgen-quote-prefix
Open

quote prefix passed to compgen in FilesCompleter#551
sahvx655-wq wants to merge 1 commit into
kislyuk:mainfrom
sahvx655-wq:compgen-quote-prefix

Conversation

@sahvx655-wq
Copy link
Copy Markdown

FilesCompleter interpolates the prefix into a single-quoted compgen string, so a quote in the completed word breaks out and runs arbitrary shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant