diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-07-25 12:06:07 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-07-25 12:06:07 +0100 |
commit | f3ebb786e451da973560f1c9d8cdb151d25108b5 (patch) | |
tree | 8fd69711b9a429b20a1b8b1d18ae63b726cb9723 /test/confs/0284 | |
parent | 21aa05977abff1eaa69bb97ef99080220915f7c0 (diff) |
Track tainted data and refuse to expand it
Diffstat (limited to 'test/confs/0284')
-rw-r--r-- | test/confs/0284 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/confs/0284 b/test/confs/0284 index d38f38390..0103742f4 100644 --- a/test/confs/0284 +++ b/test/confs/0284 @@ -16,7 +16,9 @@ begin routers all: driver = accept address_data = ${if match{$local_part}{^(.)}{$1}} - transport = ${if match{$local_part}{^.*-(.*)\$}{$1}fail} + transport = ${if eq {${substr_-1_1:$local_part}}{1} {t1} \ + {${if eq {${substr_-1_1:$local_part}}{2} {t2} \ + {${if eq {${substr_-1_1:$local_part}}{3} {t3} {t4}}}}}} # ----- Transports ----- |