mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 16:17:49 +00:00
add test case for invalid characters in cert commonnames
This commit is contained in:
parent
d698ee50a7
commit
f02c04d9d8
@ -34,6 +34,7 @@ class TestCertStore:
|
||||
assert not c.get_cert("foo.com", [])
|
||||
assert c.get_cert("foo.com", [], ca)
|
||||
assert c.get_cert("foo.com", [], ca)
|
||||
assert c.get_cert("*.foo.com", [], ca)
|
||||
c.cleanup()
|
||||
|
||||
def test_check_domain(self):
|
||||
|
Loading…
Reference in New Issue
Block a user