Commit notifications for all Sup repositories
 help / color / mirror / Atom feed
From: Dan Callaghan <dan@bl2.djc.id.au>
To: sup-commits@supmua.dev
Subject: [sup.git] 04/08: shell escape bounce destination addresses
Date: Sat, 28 Nov 2026 17:13:39 +1100	[thread overview]
Message-ID: <20261128061335.8FF462D45CF@bl2.djc.id.au> (raw)
In-Reply-To: <179584641514.302139.17817016268117078700@bl2.djc.id.au>

New commit on branch develop:
https://supmua.dev/git/sup/commit/4480647703939e89d1cd98ff7eeb5c6eec3a7948.html

commit 4480647703939e89d1cd98ff7eeb5c6eec3a7948
Author: Dan Callaghan <djc@djc.id.au>
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
 

  parent reply	other threads:[~2026-11-28  6:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28  6:13 [sup.git] branch develop updated (ce27c933 -> 53f07beb) Dan Callaghan
2026-11-28  6:13 ` [sup.git] 01/08: delete dead report_broken_sources method Dan Callaghan
2026-11-28  6:13 ` [sup.git] 02/08: sup-sync-back-maildir: remove broken negative short options Dan Callaghan
2026-11-28  6:13 ` [sup.git] 03/08: show both raw and encoded sizes of attachments Dan Callaghan
2026-11-28  6:13 ` Dan Callaghan [this message]
2026-11-28  6:13 ` [sup.git] 05/08: call setlocale() through ncurses bindings instead of fiddle Dan Callaghan
2026-11-28  6:13 ` [sup.git] 06/08: use libmagic to detect attachment MIME types Dan Callaghan
2026-11-28  6:13 ` [sup.git] 07/08: clean up directory traversal in Maildir#poll Dan Callaghan
2026-11-28  6:13 ` [sup.git] 08/08: bring back sup-recover-sources from the dead Dan Callaghan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261128061335.8FF462D45CF@bl2.djc.id.au \
    --to=dan@bl2.djc.id.au \
    --cc=djc@djc.id.au \
    --cc=sup-commits@supmua.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox