diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-02-21 10:11:50 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-02-21 10:11:50 +1300 |
commit | c3e38970718aed37dd70e8aad0085957b62a09ac (patch) | |
tree | 734ead4993761ab79f86b7f190dd16e2447994e8 /test/test_flow.py | |
parent | fd4dd8cb6b9e4e2a0afe0ecbf1bff52c66ce4dba (diff) | |
download | mitmproxy-c3e38970718aed37dd70e8aad0085957b62a09ac.tar.gz mitmproxy-c3e38970718aed37dd70e8aad0085957b62a09ac.tar.bz2 mitmproxy-c3e38970718aed37dd70e8aad0085957b62a09ac.zip |
Fix a subtle Unicode problem in Response.assemble
If msg is Unicode, the proto string is automatically promoted to Unicode. If
the proto string is promoted to Unicode, then the FMT interpolation is also
done in Unicode. If this happens, then binary data in content will cause an
exception.
Diffstat (limited to 'test/test_flow.py')
0 files changed, 0 insertions, 0 deletions