diff options
author | Lukáš Ježek <lukas.jezek@nic.cz> | 2020-12-04 06:57:26 +0100 |
---|---|---|
committer | Lukáš Ježek <lukas.jezek@nic.cz> | 2020-12-07 11:47:12 +0100 |
commit | a655d8dc9a1c641b8d55312cc827e50e3e8cb2de (patch) | |
tree | a6c78520028b8237135c571706a2cae5c662d004 /tests | |
parent | Merge !1105: typo: fix occured -> occurred (diff) | |
download | knot-resolver-a655d8dc9a1c641b8d55312cc827e50e3e8cb2de.tar.xz knot-resolver-a655d8dc9a1c641b8d55312cc827e50e3e8cb2de.zip |
doh2: restricts endpoints to doh and dns-query
Diffstat (limited to 'tests')
-rw-r--r-- | tests/config/doh2.test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/config/doh2.test.lua b/tests/config/doh2.test.lua index a97fc069..2c4779e9 100644 --- a/tests/config/doh2.test.lua +++ b/tests/config/doh2.test.lua @@ -96,7 +96,7 @@ else local function start_server() local request = require('http.request') local ssl_ctx = require('openssl.ssl.context') - uri_templ = string.format('https://%s:%d/dns_query', host, port) + uri_templ = string.format('https://%s:%d/dns-query', host, port) req_templ = assert(request.new_from_uri(uri_templ)) req_templ.headers:upsert('content-type', 'application/dns-message') req_templ.ctx = ssl_ctx.new() |