]> git.ipfire.org Git - thirdparty/bind9.git/commit
Parse the URI template and check for a dns variable
authorMark Andrews <marka@isc.org>
Mon, 9 Sep 2024 05:59:30 +0000 (15:59 +1000)
committerMark Andrews <marka@isc.org>
Tue, 26 Nov 2024 03:41:51 +0000 (03:41 +0000)
commit2d55935c6e5a28f55e59ce8546eb017d99562748
tree1cfd123992e862fbd1fd444656c7bce8a3033d28
parente12e91b90d0c7c56a1619cee922e2d3a9b7e00a8
Parse the URI template and check for a dns variable

The 'dns' variable in dohpath can be in various forms ({?dns},
{dns}, {&dns} etc.).  To check for a valid dohpath it ends up
being simpler to just parse the URI template rather than looking
for all the various forms if substring.

(cherry picked from commit af54ef9f5d703ed61c140f3e32e6fab5d88923a1)
lib/dns/rdata.c
lib/dns/rdata/in_1/svcb_64.c
tests/dns/rdata_test.c