[exim-cvs] Testsuite: taint-enforcement issues

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Testsuite: taint-enforcement issues
Gitweb: https://git.exim.org/exim.git/commitdiff/9c43aff91481faddf4ca3763657d3ae2a63acb65
Commit:     9c43aff91481faddf4ca3763657d3ae2a63acb65
Parent:     c4141216b51b0dce51504479342d2bfc8a83dfad
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Jan 12 00:14:27 2020 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Jan 12 00:14:27 2020 +0000


    Testsuite: taint-enforcement issues
---
 test/confs/0153                   | 2 +-
 test/msglog/0585.10HmaX-0005vi-00 | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)


diff --git a/test/confs/0153 b/test/confs/0153
index d70a38e..35a004a 100644
--- a/test/confs/0153
+++ b/test/confs/0153
@@ -13,7 +13,7 @@ begin routers
 virtual:
   driver = redirect
   domains = *.virt.test.ex
-  address_data = ${if match{$domain}{^(.*)\\.virt\\.test\\.ex\$}{$1}}
+  address_data = ${if match{$domain}{^(.*)\\.virt\\.test\\.ex\$}{${bless:$1}}}
   data = ${if exists{DIR/aux-fixed/TESTNUM.alias.$address_data} \
            {${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias.$address_data}}} \
           fail}
diff --git a/test/msglog/0585.10HmaX-0005vi-00 b/test/msglog/0585.10HmaX-0005vi-00
new file mode 100644
index 0000000..f91a4a3
--- /dev/null
+++ b/test/msglog/0585.10HmaX-0005vi-00
@@ -0,0 +1,2 @@
+1999-03-02 09:44:33 Received from CALLER@??? U=CALLER P=local S=sss
+1999-03-02 09:44:33 |TESTSUITE/bin/iefbr14 <pipe-userx=TESTSUITE/bin/iefbr14@???> R=r2 T=t2 defer (0): Tainted 'TESTSUITE/bin/iefbr14' (command for t2 transport) not permitted