unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 0/2] newline rejection for new stuff
@ 2021-03-19 12:35 Eric Wong
  2021-03-19 12:35 ` [PATCH 1/2] lei: disallow "\n" in local externals paths Eric Wong
  2021-03-19 12:35 ` [PATCH 2/2] config: ignore extindex entries with newlines in paths Eric Wong
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Wong @ 2021-03-19 12:35 UTC (permalink / raw)
  To: meta

Too many things get broken by allowing newlines in
path names and they're not worth fixing.

Eric Wong (2):
  lei: disallow "\n" in local externals paths
  config: ignore extindex entries with newlines in paths

 lib/PublicInbox/Config.pm      |  4 ++++
 lib/PublicInbox/LeiExternal.pm |  5 +++++
 lib/PublicInbox/LeiXSearch.pm  |  2 ++
 t/lei-externals.t              |  8 ++++++--
 t/lei-mirror.t                 |  5 +++++
 t/lei.t                        | 12 ++++++++++++
 6 files changed, 34 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-19 12:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19 12:35 [PATCH 0/2] newline rejection for new stuff Eric Wong
2021-03-19 12:35 ` [PATCH 1/2] lei: disallow "\n" in local externals paths Eric Wong
2021-03-19 12:35 ` [PATCH 2/2] config: ignore extindex entries with newlines in paths Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).