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:
parent
eb372e7ce5
commit
1ff31f14f1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue