mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 16:54:15 -04:00
Remove ?bla=foo:443 for POST DoH (#7257)
Signed-off-by: Ambrose Chua <ambrose@hey.com>
This commit is contained in:
@@ -52,7 +52,7 @@ func NewRequest(method, url string, m *dns.Msg) (*http.Request, error) {
|
||||
case http.MethodPost:
|
||||
req, err := http.NewRequest(
|
||||
http.MethodPost,
|
||||
fmt.Sprintf("%s%s?bla=foo:443", url, Path),
|
||||
fmt.Sprintf("%s%s", url, Path),
|
||||
bytes.NewReader(buf),
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user