From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 00D9B1F9FC for ; Fri, 19 Mar 2021 12:35:58 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] newline rejection for new stuff Date: Fri, 19 Mar 2021 10:35:55 -0200 Message-Id: <20210319123557.19068-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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(-)