Remove the ct parameter from DoH queries

That was a workaround for Google, but Google doesn't seem to need
it any more.
This commit is contained in:
Frank Denis 2020-04-01 12:12:57 +02:00
parent eb372e7ce5
commit 1ff31f14f1
1 changed files with 0 additions and 1 deletions

View File

@ -405,7 +405,6 @@ func (xTransport *XTransport) DoHQuery(useGet bool, url *url.URL, body []byte, t
dataType := "application/dns-message"
if useGet {
qs := url.Query()
qs.Add("ct", "")
encBody := base64.RawURLEncoding.EncodeToString(body)
qs.Add("dns", encBody)
url2 := *url