summaryrefslogtreecommitdiff
path: root/test/aux-var-src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-11-11 18:22:00 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-11-11 19:52:19 +0000
commit7ad1a2b2cc57b5f4bcb59186a9a8abcbed9f4f76 (patch)
tree5872f7fd3de6384f962d5480d88f3501bbaa624c /test/aux-var-src
parente63825824cc406c160ccbf2b154c5d81b168604a (diff)
downloadexim4-7ad1a2b2cc57b5f4bcb59186a9a8abcbed9f4f76.tar.gz
Fix regex substring capture variables for null matches (again). Bug 2933
Broken-by: 59d66fdc13f0
Diffstat (limited to 'test/aux-var-src')
-rw-r--r--test/aux-var-src/0383.F4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/aux-var-src/0383.F b/test/aux-var-src/0383.F
index be69ca2c2..59dd0666a 100644
--- a/test/aux-var-src/0383.F
+++ b/test/aux-var-src/0383.F
@@ -3,7 +3,7 @@
if error_message then finish endif
if foranyaddress $h_to: ($thisaddress matches "^(alice)") then
- pipe "DIR/aux-fixed/showenv \"${if match_address {$thisaddress}{alice@test.ex}{$value}}\" $1"
+ pipe "DIR/aux-fixed/showenv \"${if match_address {$thisaddress}{alice@test.ex}{$value}}\" \"${if inlist {$1}{alice} {$value}}\""
finish
endif
@@ -13,6 +13,6 @@ if foranyaddress $h_to: ($thisaddress matches "^(marny)") then
endif
if $h_to: matches "^(j..)" then
- pipe "DIR/aux-fixed/showenv $1"
+ pipe "DIR/aux-fixed/showenv \"${if inlist {$1}{jab} {$value}}\""
endif