mitmproxy/test/mitmproxy
Peter Hoffmann 260fc68211
Fix #4876 Don't do CONNECT on plaintext HTTP replays via upstream (#4882)
* Replays via upstream also need to comply with upstream handling

* Adjusted test for HTTP upstream replay which should NOT do a CONNECT

* Added Changelog

* Test for replay https pver upstream with CONNECT

* Proxy requests use full URL with host & port

* Finally remove some prints

* lint!

Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2021-10-31 20:23:04 +00:00
..
addons Fix #4876 Don't do CONNECT on plaintext HTTP replays via upstream (#4882) 2021-10-31 20:23:04 +00:00
completion Add dummy directory to completion 2016-06-20 01:24:27 +05:30
contentviews gRPC packed repeated encoding (#4872) 2021-10-21 13:20:13 +02:00
coretypes Fix several DeprecationWarning: invalid escape sequence 2019-01-05 23:37:48 +01:00
data don't fail on invalid certs, fix #4713 (#4721) 2021-08-02 13:15:05 +00:00
io fix tnetstread crash found via fuzzing 2021-08-08 16:12:37 +02:00
net improve handling of flows with invalid content-lengths (#4819) 2021-09-23 18:03:52 +00:00
platform [sans-io] add transparent proxy, improve testing 2020-12-12 21:24:18 +01:00
proxy ignore superfluous newlines after HTTP CONNECT, fix #4870 (#4871) 2021-10-19 11:25:22 +00:00
script Reply: remove return value 2020-12-28 22:09:57 +01:00
tools web: update filters 2021-10-08 18:39:22 +02:00
utils improve flowfilter api: raise on invalid input, add ~all 2021-10-08 17:45:47 +02:00
__init__.py nuke Pillow 2017-02-15 00:54:14 +01:00
test_addonmanager.py converge on hooks, events, and commands 2021-01-05 22:00:54 +01:00
test_certs.py Make Cert.not{before,after} timezone aware (#4805) 2021-09-16 10:53:36 +02:00
test_command_lexer.py commands: only accept escaped quotes 2021-07-15 13:12:58 +02:00
test_command.py commands: only accept escaped quotes 2021-07-15 13:12:58 +02:00
test_connection.py Allow no-op assignments to Server.address when connection open (#4687) 2021-07-19 09:25:21 +00:00
test_controller.py add MitmproxyEvent for addon events 2021-01-05 21:54:44 +01:00
test_ctx.py restructure and move test files 2017-02-14 23:31:37 +01:00
test_eventsequence.py remove websocket_error event, fixes #4674 2021-07-12 16:35:25 +02:00
test_exceptions.py restructure and move test files 2017-02-14 23:31:37 +01:00
test_flow.py Add flow.comment command and keybinding to add a comment to a flow. (#4608) 2021-05-28 20:38:27 +02:00
test_flowfilter.py lint! 2021-10-09 18:34:29 +02:00
test_hooks.py duplicate hooks: warn instead of raise 2021-01-16 20:31:50 +01:00
test_http.py Don't set 'content-length' with 'transfer-encoding' 2021-09-28 18:31:08 +02:00
test_log.py logging: don't pick up later mutations 2021-06-20 02:15:09 +02:00
test_master.py restructure and move test files 2017-02-14 23:31:37 +01:00
test_options.py restructure and move test files 2017-02-14 23:31:37 +01:00
test_optmanager.py minor export fixups, fix #4718, fix #4714 (#4725) 2021-08-02 18:32:01 +00:00
test_proxy.py cleanup old proxy server 2020-12-28 14:33:10 +01:00
test_stateobject.py Add typechecking of Any values for state object 2018-06-17 10:22:17 +12:00
test_taddons.py Reply: remove return value 2020-12-28 22:09:57 +01:00
test_tcp.py add individual-coverage check 2017-02-16 11:43:45 +01:00
test_typemanager.py commands: refactor types 2017-12-18 17:02:48 +13:00
test_types.py handle escape sequences in mitmproxy.types 2021-07-14 13:17:31 +02:00
test_version.py fix compat with upcoming cryptography release 2021-10-05 08:19:37 +02:00
test_websocket.py WebSocketMessage.kill() -> .drop() 2021-07-15 14:57:43 +02:00
tservers.py add MitmproxyEvent for addon events 2021-01-05 21:54:44 +01:00