]> Sergey Matveev's repositories - public-inbox.git/commit
www: tighten up allowable filenames for attachments
authorEric Wong <e@80x24.org>
Thu, 19 May 2016 22:02:56 +0000 (22:02 +0000)
committerEric Wong <e@80x24.org>
Thu, 19 May 2016 22:02:56 +0000 (22:02 +0000)
commitd6cdb106f27abed5d05da035c95e106939fbe3b2
tree512df7bdbcd4b4f91af64a4ef9d9d645867a072b
parent9c54a95e5279826fb8a768f7d6b45cc475415f84
www: tighten up allowable filenames for attachments

Having a file start with '.' or '-' can be confusing
and for users, so do not allow it.
lib/PublicInbox/View.pm
lib/PublicInbox/WWW.pm
t/psgi_attach.t