mitmproxy/netlib
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
..
http fix-1366 2016-07-16 18:31:37 +02:00
websockets remove clean_bin, clarify unicode handling 2016-07-05 15:11:32 -07:00
__init__.py
basethread.py
basetypes.py
certutils.py
debug.py fix sysinfo for py3 2016-07-10 13:16:23 +02:00
encoding.py minor fixes 2016-07-19 18:09:33 -07:00
exceptions.py Start rolling out leak detection in netlib 2016-06-14 14:32:18 +12:00
human.py
multidict.py py3++, multidict fixes 2016-07-06 19:53:29 -07:00
socks.py
strutils.py Make escape_control_characters handle strings on Py2 2016-07-09 13:28:20 +05:30
tcp.py sni is now str, not bytes 2016-07-06 21:03:17 -07:00
tutils.py
utils.py Fix netlib.utils.is_valid_host 2016-07-21 10:38:37 +12:00
version_check.py
version.py
wsgi.py improve message content semantics 2016-07-15 22:50:33 -07:00