mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 10:26:23 +00:00
Merge pull request #14 from mhils/commonname_invalid_chars
add test case for invalid characters in cert commonnames
This commit is contained in:
commit
698f6f198d
@ -34,6 +34,7 @@ class TestCertStore:
|
|||||||
assert not c.get_cert("foo.com", [])
|
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)
|
assert c.get_cert("foo.com", [], ca)
|
||||||
|
assert c.get_cert("*.foo.com", [], ca)
|
||||||
c.cleanup()
|
c.cleanup()
|
||||||
|
|
||||||
def test_check_domain(self):
|
def test_check_domain(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user