mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-03-29 15:48:40 +08:00
- 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.