diff --git a/doh-server/ietf.go b/doh-server/ietf.go index c3535b1..a4503a9 100644 --- a/doh-server/ietf.go +++ b/doh-server/ietf.go @@ -62,7 +62,7 @@ func (s *Server) parseRequestIETF(ctx context.Context, w http.ResponseWriter, r if len(requestBinary) == 0 { return &DNSRequest{ errcode: 400, - errtext: fmt.Sprintf("Invalid argument value: \"dns\""), + errtext: "Invalid argument value: \"dns\"", } }