]> Sergey Matveev's repositories - public-inbox.git/commit
tests: rely on PublicInbox::Git for pathname safety
authorEric Wong <e@80x24.org>
Mon, 4 Nov 2019 11:13:47 +0000 (11:13 +0000)
committerEric Wong <e@80x24.org>
Mon, 4 Nov 2019 18:33:25 +0000 (18:33 +0000)
commit600e3a464823b3f460a80723a8ea3525fe841285
tree56203f59c6b12ad4af1f7d3e5cde36d06356e4b2
parentb5318c127af37e330e4ba059817425a596a27647
tests: rely on PublicInbox::Git for pathname safety

It's possible (but unlikely) a user will put spaces in TMPDIR
and cause File::Temp::tempdir() to return a temporary directory
with spaces in the filename, making it unsafe for shell
expansion.

PublicInbox::Git didn't exist when t/mda.t was written, and
I just forgot about PublicInbox::Git->qx for t/plack.t :x
t/mda.t
t/plack.t