mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
#18705: merge with 3.3.
This commit is contained in:
commit
9a3777e525
26 changed files with 49 additions and 49 deletions
|
@ -171,7 +171,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