mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
bpo-44045: fix spelling of uppercase vs upper-case (GH-25985)
And also of lowercase vs lower-case. The `-` notation should only be used for adjectives.
This commit is contained in:
parent
acac6c71ff
commit
2138b2edaf
5 changed files with 5 additions and 5 deletions
|
@ -280,7 +280,7 @@ CertificateError = SSLCertVerificationError
|
|||
def _dnsname_match(dn, hostname):
|
||||
"""Matching according to RFC 6125, section 6.4.3
|
||||
|
||||
- Hostnames are compared lower case.
|
||||
- Hostnames are compared lower-case.
|
||||
- For IDNA, both dn and hostname must be encoded as IDN A-label (ACE).
|
||||
- Partial wildcards like 'www*.example.org', multiple wildcards, sole
|
||||
wildcard or wildcards in labels other then the left-most label are not
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue