diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-03-22 00:55:59 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-03-22 09:49:46 +0000 |
commit | 36b600bb776d082be8cdd15c18daed3c29cfda7f (patch) | |
tree | 36b9fc80996507dc6d3bf7d6a8cdd959d635e728 /test | |
parent | a76d120aedbb1c19943db1227a14226ce6fdb679 (diff) |
Taint: fix dsearch result to be untainted
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/0153 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/confs/0153 b/test/confs/0153 index 35a004a45..24f499b41 100644 --- a/test/confs/0153 +++ b/test/confs/0153 @@ -13,10 +13,9 @@ begin routers virtual: driver = redirect domains = *.virt.test.ex - 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} + address_data = ${lookup {TESTNUM.alias.${extract {1}{.}{$domain}}} \ + dsearch{DIR/aux-fixed} {$value}fail} + data = ${lookup{$local_part}lsearch{DIR/aux-fixed/$address_data}} no_more list: |