Github messages for mblaze
 help / color / mirror / Atom feed
* [PR PATCH] Quote command expansion to prevent word splitting
@ 2023-06-23  7:59 thyssentishman
  2023-06-26 17:18 ` [PR PATCH] [Closed]: " leahneukirchen
  0 siblings, 1 reply; 2+ messages in thread
From: thyssentishman @ 2023-06-23  7:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

There is a new pull request by thyssentishman against master on the mblaze repository

https://github.com/thyssentishman/mblaze master
https://github.com/leahneukirchen/mblaze/pull/242

Quote command expansion to prevent word splitting
This is necessary to support maildir paths that contain spaces.

This commit fixes #241 

A patch file from https://github.com/leahneukirchen/mblaze/pull/242.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-242.patch --]
[-- Type: text/x-diff, Size: 989 bytes --]

From 4fffb4e504247eb29ead04655c6664290223186e Mon Sep 17 00:00:00 2001
From: Johannes Thyssen Tishman <johannes@thyssentishman.com>
Date: Fri, 23 Jun 2023 09:56:14 +0200
Subject: [PATCH] Quote command expansion to prevent word splitting

This is necessary to support maildir paths that contain spaces.
---
 mcom | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mcom b/mcom
index 2cc4df5..4e834c6 100755
--- a/mcom
+++ b/mcom
@@ -448,7 +448,7 @@ while :; do
 				if $sendmail <"$draftmime"; then
 					if [ "$outbox" ]; then
 						mv "$draftmime" "$draft"
-						mrefile $(mflag -d -S "$draft") "$outbox"
+						mrefile "$(mflag -d -S "$draft")" "$outbox"
 					else
 						rm "$draft" "$draftmime"
 					fi
@@ -466,7 +466,7 @@ while :; do
 				stampdate "$draft"
 				if $sendmail <"$draft"; then
 					if [ "$outbox" ]; then
-						mrefile $(mflag -d -S "$draft") "$outbox"
+						mrefile "$(mflag -d -S "$draft")" "$outbox"
 					else
 						rm "$draft"
 					fi

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

* Re: [PR PATCH] [Closed]: Quote command expansion to prevent word splitting
  2023-06-23  7:59 [PR PATCH] Quote command expansion to prevent word splitting thyssentishman
@ 2023-06-26 17:18 ` leahneukirchen
  0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2023-06-26 17:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 261 bytes --]

There's a closed pull request on the mblaze repository

Quote command expansion to prevent word splitting
https://github.com/leahneukirchen/mblaze/pull/242

Description:
This is necessary to support maildir paths that contain spaces.

This commit fixes #241 

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

end of thread, other threads:[~2023-06-26 17:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-23  7:59 [PR PATCH] Quote command expansion to prevent word splitting thyssentishman
2023-06-26 17:18 ` [PR PATCH] [Closed]: " leahneukirchen

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 NNTP newsgroup(s).