Package: amavisd-new
Version: 1:2.11.0-4
Followup-For: Bug #920720

Dear maintainer,

I am running attached patch since 3 days with no doubt. It should
fix the "left brace" issue.

-- 
  The path to source is always uphill!
                                -unknown-
>From e3e7555261a07dc05736483bd8493cbbfc4b4c09 Mon Sep 17 00:00:00 2001
From: Elimar Riesebieter <riese...@lxtec.de>
Date: Thu, 31 Jan 2019 16:25:39 +0100
Subject: [PATCH] Fix escaped brased really now

Fix escaped brased really now, hopefully.

Please notice the "blank" between the escaped left brace and the escaped right
brace.
This works fine on my system in corelation to exim4, though.


---
 amavisd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/amavisd b/amavisd
index 7f93194..1862ee8 100755
--- a/amavisd
+++ b/amavisd
@@ -28848,7 +28848,7 @@ sub run_av(@) {
         my $f = $bare_fnames->[$k];  my $multi = 0;
         if ($one_at_a_time) {  # glob templates may be substrings anywhere
           local($1);  @query_expanded = @query_template;  # start afresh
-          s{ ( {} (?: / \* )? | \* ) }
+          s{ ( \{ \} (?: / \* )? | \* ) }
            { $1 eq '{}'   ? "$tempdir/parts"
            : $1 eq '{}/*' ? ($multi=1,"$tempdir/parts/$f")
            : $1 eq '*'    ? ($multi=1,$f)  : $1
-- 
2.20.1

Reply via email to