]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: disallow "\n" in argv[] elements
authorEric Wong <e@80x24.org>
Wed, 10 Nov 2021 10:28:37 +0000 (10:28 +0000)
committerEric Wong <e@80x24.org>
Wed, 10 Nov 2021 18:38:16 +0000 (18:38 +0000)
commit7eeeea81c74c7184984510892871fd79406c0393
tree24de6c6f01281e374e5785c3b26550b3452cc855
parent1fb061098abd9a9ad8f018b0583071e19ffc9fec
lei q: disallow "\n" in argv[] elements

I don't expect this to be hit in real-world use via normal
interactive shells.  However, somebody could accidentally add
"\n" in languages (e.g. Perl, C) where it's easy to pass "\n"
in argv[].
lib/PublicInbox/LeiQuery.pm
t/lei.t