From ca33027e042db6e88d3f3ad307550d16764b658b Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Tue, 26 Jun 2018 14:39:05 +0800 Subject: [PATCH] Remove offensive words :-) --- doh-server/ietf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doh-server/ietf.go b/doh-server/ietf.go index 017bcb1..0d493c0 100644 --- a/doh-server/ietf.go +++ b/doh-server/ietf.go @@ -177,7 +177,7 @@ func (s *Server) patchDNSCryptProxyReqID(requestBinary []byte, w http.ResponseWr w.Header().Set("Content-Type", "application/octet-stream") now := time.Now().UTC().Format(http.TimeFormat) w.Header().Set("Date", now) - w.Write([]byte("\xca\xfe\x81\x01\x00\x01\r\nWorkaround a bug causing DNSCrypt-Proxy to expect a response with TransactionID = 0xcafe\r\nDo you know it is a violation of the protocol you fxxking DNSCrypt-Proxy?!\r\n")) + w.Write([]byte("\xca\xfe\x81\x01\x00\x01\r\nWorkaround a bug causing DNSCrypt-Proxy to expect a response with TransactionID = 0xcafe\r\nRefer to https://github.com/jedisct1/dnscrypt-proxy/issues/526 for details.\r\n")) return true } return false