mitmproxy/test/netlib/http/http1
Aldo Cortesi 02acfb1242 Fix netlib.utils.is_valid_host
- Don't crash when passed an empty string. This translated into an actual core
crash, discovered while fuzzing with afl.
- Taking a slice of length one out of bytes returns an integer, so the check
for trailing period in this function never worked on Python3.
- Add unit tests.
2016-07-21 10:38:37 +12:00
..
__init__.py move tests into shared folder 2016-02-15 16:34:22 +01:00
test_assemble.py py3++ 2016-07-07 17:50:26 -07:00
test_read.py Fix netlib.utils.is_valid_host 2016-07-21 10:38:37 +12:00