mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
#18705: fix a number of typos. Patch by Févry Thibault.
This commit is contained in:
parent
67f39777fa
commit
30b9d5d3af
25 changed files with 44 additions and 44 deletions
|
@ -134,7 +134,7 @@ def _dnsname_to_pat(dn, max_wildcards=1):
|
|||
for frag in dn.split(r'.'):
|
||||
if frag.count('*') > max_wildcards:
|
||||
# Issue #17980: avoid denials of service by refusing more
|
||||
# than one wildcard per fragment. A survery of established
|
||||
# than one wildcard per fragment. A survey of established
|
||||
# policy among SSL implementations showed it to be a
|
||||
# reasonable choice.
|
||||
raise CertificateError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue