From nobody Tue Jan 24 17:08:20 2023 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P1YMS5Dytz3162Q for ; Tue, 24 Jan 2023 17:08:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P1YMS4n1dz3PgL; Tue, 24 Jan 2023 17:08:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674580100; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+nZJ+COIIm1qSMvDmBsqD3+YxCsn0eiY13Wj7yeCGOU=; b=YfTtdUqi5rK8CvjgrKAonC71zkZueYS4pzSoFzsMGTveNWd3KcaLjGE43C5XJ7T2NAeD88 0ip/8JsLTfW3Q++srgwMEaR+CdL49fdJKLeYn/D/VEef93kDSRov1shwE2qpYtwq8UUkvb rBGaD8ikV07PlENC4epqW4pMnGDY+wf8TJhPZygze4S2rbwqOx13z895rhiPFHth9donZE U9tw5Ix0qgBRFbjZyIp5bdAo2DfWuGr8A9lQtm4+AK3+bIPNATyydwGg97YHDBqUPOWpfQ EOWZ3aMTKvUSVV/vnuxNWSARHRNajKd9AMxmOmJtpugnERoR5/mujJuvXBrnXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674580100; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+nZJ+COIIm1qSMvDmBsqD3+YxCsn0eiY13Wj7yeCGOU=; b=Ty4iAfAuKb7NV5cj88dgQkkyzom2gYCyAMB+Q8dly73moLslIqD0k5sjSYMu0LslTmTSD+ DxELGtkizv36uPQav9Ya41vQ5SWO/L3mb+nR2UG6HAir/mPWq2AabW80HgpW1JMu9GHLUz kg0BaAcBiLVBEpCoPWU9BEJuFB2YYoCHLdY2Kv6KQ6yGMLnGQHlItViiew/l3k6HSHvTNO kHsUSRxg4iNUgSBHs7Emfr3F2Ui6JOeDnvn19BgwmRqeBeOhJoiHO8b+7hVNu2dS51dGau 4SxTpFCh3bu/r3QeLxFR6T/CN28mm5joOoyYnIU15gfKEW41PhQhUlxW3Lmz4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674580100; a=rsa-sha256; cv=none; b=IutZHNrp52Ky2EqYn+wqDJMbplPYFkpkPUep7p6pwVIYU8vMLQe4G2xgdMWHsQ+ayVuy5w crwtVmtDnBISGsBI/KCx0lXsWrPdpKNGPNj1lXu8Y2daRb46eLAF+NDObloKBbdlgCYkdf GEhcjRNzEKtxHzRgg/nWcSdlvEogLtQbHx69wB+NJFoOkhmKwfUuF7VMKL1hxWPDzK3IPZ YPWK6pZt7uzw0j14lzkBKO9pF5fIn8+tLn9WUBTue7LgKB4yIS8gSE05qXG2YUuw0yktgM rjrBhYAxiMGJJxsGx0qg3+OPwx9RWaMs1cycOhfForkaA6J3k5GwzoC6xHlM8Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P1YMS3r1RzHRD; Tue, 24 Jan 2023 17:08:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30OH8K3R039036; Tue, 24 Jan 2023 17:08:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30OH8KHN039035; Tue, 24 Jan 2023 17:08:20 GMT (envelope-from git) Date: Tue, 24 Jan 2023 17:08:20 GMT Message-Id: <202301241708.30OH8KHN039035@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Wolfram Schneider Subject: git: 9295c9b3af - main - update list of valid active mailing list prefixes List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wosch X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9295c9b3af2d8d4916461e11f6a27ec50736e7f6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/doc/commit/?id=9295c9b3af2d8d4916461e11f6a27ec50736e7f6 commit 9295c9b3af2d8d4916461e11f6a27ec50736e7f6 Author: Wolfram Schneider AuthorDate: 2023-01-24 17:06:22 +0000 Commit: Wolfram Schneider CommitDate: 2023-01-24 17:06:22 +0000 update list of valid active mailing list prefixes --- website/content/en/cgi/getmsg.cgi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/content/en/cgi/getmsg.cgi b/website/content/en/cgi/getmsg.cgi index ba486e4c99..823f88d87b 100755 --- a/website/content/en/cgi/getmsg.cgi +++ b/website/content/en/cgi/getmsg.cgi @@ -51,6 +51,8 @@ sub Fetch $file =~ s|/+|/|; $file =~ s|^archive/|$messagepath/|; + my $valid_list_name = '^current/(ctm|cvs|dev|freebsd|netperf|p4|soc|svn|trustedbsd|vendors)(-[a-z0-9-]+)?$'; + # read the full archive if ($type eq 'archive') { # from the FreeBSD ftp server @@ -61,7 +63,7 @@ sub Fetch } # from the local mail archive for current mails - elsif ($file =~ m%^current/(cvs|svn|freebsd|p4|trustedbsd)-[a-z0-9-]+$% && + elsif ($file =~ /$valid_list_name/ && open(DATA, "$messagepathcurrent$file")) { print "Content-type: text/plain\n\n"; while() { @@ -73,7 +75,7 @@ sub Fetch } if (($file =~ /^$messagepath/ && -f $file && open(DATA, $file)) || - ($file =~ m%^current/(cvs|svn|freebsd|p4|trustedbsd)-[a-z0-9-]+$% && + ($file =~ /$valid_list_name/ && open(DATA, "$messagepathcurrent$file"))) { @finfo = stat DATA;