Fix ${listextract } from a tainted list
[exim.git] / test / scripts / 0000-Basic / 0002
index a8fc0bcb274770b166eb3496a73e8a64950b4240..0a24fe988cd74801640e41959c6abe4cfd61c496 100644 (file)
@@ -1085,3 +1085,7 @@ exim -be
 ${if inlist{aa}{aa} {in list}{not in list}}
 ${if !inlist{aa}{aa} {not in list}{in list}}
 ****
+# listextract from tainted list
+exim -be -oMs my.target.host.name
+'\${listextract {2} {<. $sender_host_name}}'  =>   '${listextract {2} {<. $sender_host_name}}'
+****