Skip to content

Commit 6e606d9

Browse files
committed
acme/autocert: correct typo in comments
1 parent 4e9f76b commit 6e606d9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

acme/autocert/autocert.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,10 @@ func (m *Manager) GetCertificate(hello *tls.ClientHelloInfo) (*tls.Certificate,
252252
}
253253

254254
// Note that this conversion is necessary because some server names in the handshakes
255-
// made by some clients (like cURL) is not implicitly converted to Punycode, which will
256-
// cause the certificate to fail to be obtained. In addition, we should also treat
257-
// example.com and EXAMPLE.COM as equivalent and must return the same certificate for
258-
// them. Fortunately, this conversion also helped us deal with this kind of mixedcase
259-
// problems.
255+
// started by some clients (like cURL) are not implicitly converted to Punycode, which
256+
// will cause the certificate to fail to be obtained. In addition, we should also treat
257+
// example.com and EXAMPLE.COM as equivalent and return the same certificate for them.
258+
// Fortunately, this conversion also helped us deal with this kind of mixedcase problems.
260259
//
261260
// Due to the "σςΣ" problem (see https://unicode.org/faq/idn.html#22), we can't use
262261
// idna.Punycode.ToASCII (or just idna.ToASCII) here.

0 commit comments

Comments
 (0)