]> git.ipfire.org Git - thirdparty/bind9.git/commit
Correctly handle catalog zone entries containing slashes
authorEvan Hunt <each@isc.org>
Thu, 30 Jan 2020 23:30:32 +0000 (15:30 -0800)
committerEvan Hunt <each@isc.org>
Tue, 4 Feb 2020 00:08:20 +0000 (16:08 -0800)
commitdba0163dac8b240faf6d91066655247acf3ad321
tree7a96fe991fa4f638c1b68032ab99e01cd75bf336
parent9f6e0dc94511421b16ede0baaf04598d0fc62282
Correctly handle catalog zone entries containing slashes

- Add quotes before and after zone name when generating "addzone"
  input so avoid "unexpected token" errors.
- Use a hex digest for zone filenames when the zone or view name
  contains a slash.
- Test with a domain name containing a slash.
- Incidentally added 'catzhash.py' to contrib/scripts to generate
  hash labels for catalog zones, as it was needed to write the test.
bin/tests/system/catz/tests.sh
contrib/scripts/catzhash.py [new file with mode: 0644]
lib/dns/catz.c
lib/dns/include/dns/catz.h
util/copyrights