From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by bl2.djc.id.au (Postfix, from userid 1000) id 8FF462D45CF; Sat, 28 Nov 2026 17:13:35 +1100 (AEDT) Date: Sat, 28 Nov 2026 17:13:39 +1100 To: sup-commits@supmua.dev Subject: [sup.git] 04/08: shell escape bounce destination addresses MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: Dan Callaghan In-Reply-To: <179584641514.302139.17817016268117078700@bl2.djc.id.au> References: <179584641514.302139.17817016268117078700@bl2.djc.id.au> Thread-Index: AQAAEjRW8AyDbWtbRRaCMIXB6V3YXw== X-Git-Host: bl2.djc.id.au X-Git-Repo: sup.git X-Git-Refname: refs/heads/develop X-Git-Reftype: branch X-Git-Rev: 4480647703939e89d1cd98ff7eeb5c6eec3a7948 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.7.dev Auto-Submitted: auto-generated Message-Id: <20261128061335.8FF462D45CF@bl2.djc.id.au> From: Dan Callaghan List-Id: New commit on branch develop: https://supmua.dev/git/sup/commit/4480647703939e89d1cd98ff7eeb5c6eec3a7948.html commit 4480647703939e89d1cd98ff7eeb5c6eec3a7948 Author: Dan Callaghan AuthorDate: Sat Nov 21 17:02:22 2026 +1100 shell escape bounce destination addresses --- lib/sup/modes/thread_view_mode.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sup/modes/thread_view_mode.rb b/lib/sup/modes/thread_view_mode.rb index 0db03f4f..acbaf9ce 100644 --- a/lib/sup/modes/thread_view_mode.rb +++ b/lib/sup/modes/thread_view_mode.rb @@ -267,7 +267,7 @@ EOS cmd = case (hookcmd = HookManager.run "bounce-command", :from => m.from, :to => to) when nil, /^$/ then defcmd else hookcmd - end + ' ' + to.map { |t| t.email }.join(' ') + end + ' ' + to.map { |t| Shellwords.escape t.email }.join(' ') bt = to.size > 1 ? "#{to.size} recipients" : to[0].to_s