diff options
author | 2018-07-13 14:32:07 +0100 | |
---|---|---|
committer | 2018-07-13 09:32:07 -0400 | |
commit | d9b9a955ba900f2e56f1cc160e2cce13a239b18b (patch) | |
tree | dae0c50a6aadccc673b00bea81491251db92bc5e /test/ds_file_test.go | |
parent | 8d9cf95ee8b52b730e5d0f4336a2832e3c433371 (diff) | |
download | coredns-d9b9a955ba900f2e56f1cc160e2cce13a239b18b.tar.gz coredns-d9b9a955ba900f2e56f1cc160e2cce13a239b18b.tar.zst coredns-d9b9a955ba900f2e56f1cc160e2cce13a239b18b.zip |
plugin/rewrite: prevent illegal names (#1972)
Log and returns an error when the name rewrite creates a name that is
illegal. Add test in name_test.go to see if an error is returned.
Possible followup could be the only check this if a name-rewrite is
done.
Fixes: #1638
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'test/ds_file_test.go')
0 files changed, 0 insertions, 0 deletions