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 combine projects 2016-02-18 13:03:40 +01:00
basethread.py Improve debugging of thread and other leaks 2016-06-11 19:52:24 +12:00
basetypes.py Satisfy flake8 2016-05-31 19:58:28 +12:00
certutils.py Reorganise netlib imports according to Google Style Guide 2016-06-01 11:12:10 +12:00
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 Utils cleanups 2016-06-07 17:12:52 +12:00
multidict.py py3++, multidict fixes 2016-07-06 19:53:29 -07:00
socks.py Reorganise netlib imports according to Google Style Guide 2016-06-01 11:12:10 +12:00
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 Reorganise netlib imports according to Google Style Guide 2016-06-01 11:12:10 +12:00
utils.py Fix netlib.utils.is_valid_host 2016-07-21 10:38:37 +12:00
version_check.py cleanup imports with flake8 2016-05-28 14:43:32 +02:00
version.py Fold mitmproxy.version and pathod.version into netlib.version 2016-06-12 10:29:12 +12:00
wsgi.py improve message content semantics 2016-07-15 22:50:33 -07:00