From a89bea701d6c10a0f301cd2a230a11f739e82729 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Thu, 8 Sep 2022 11:06:17 -0700 Subject: [PATCH] Format comment --- acme/api/handler.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acme/api/handler.go b/acme/api/handler.go index 760b8234..6ae57ab8 100644 --- a/acme/api/handler.go +++ b/acme/api/handler.go @@ -297,10 +297,10 @@ func GetChallenge(w http.ResponseWriter, r *http.Request) { } // NOTE: We should be checking that the request is either a POST-as-GET, or - // that the payload is an empty JSON block ({}) for non device attestation - // challenges. However, older ACME clients still send a vestigial body - // (rather than an empty JSON block) and strict enforcement would render - // these clients broken. + // that for all challenges except for device-attest-01, the payload is an + // empty JSON block ({}). However, older ACME clients still send a vestigial + // body (rather than an empty JSON block) and strict enforcement would + // render these clients broken. azID := chi.URLParam(r, "authzID") ch, err := db.GetChallenge(ctx, chi.URLParam(r, "chID"), azID)