If setkey is compiled with readline support, is invoked
with -c option, and its input contains tab characters
[I needed two of them in the row, original report
stated that single \t is sufficient], then file(?)
completion function starts and list of files is shown.
Setkey's commands do not take filenames as arguments,
therefore such behaviour at best confuses users, at
worst can reveal filesystem data, if setkey would be
used in some web services without proper checking of
arguments. I think that readline should be told do not
do file completion in setkey program.
I don't know readline's programming. And, if memory
serves me right, Ludvik added support for readline to
setkey. Therefore I have assigned this bug to him. If
somebody other knows how to fix that and has time to
spare you are wellcome!
Log in to post a comment.