mirror of
https://github.com/mitmproxy/mitmproxy.git
synced 2025-02-17 04:07:49 +00:00
Support empty string as marker in flow.mark (#7192)
* Support empty string in flow.mark "Un-set all marks" is implemented as `flow.mark @all false` _MarkerType() coerces False into "", but this was previously unsupported.
This commit is contained in:
parent
ccb3ae5abe
commit
8ff173a0aa
@ -25,6 +25,8 @@
|
||||
([#7139](https://github.com/mitmproxy/mitmproxy/pull/7139), @mhils)
|
||||
- Fix a bug where mitmproxy would crash when receiving `STOP_SENDING` QUIC frames.
|
||||
([#7119](https://github.com/mitmproxy/mitmproxy/pull/7119), @mhils)
|
||||
- Fix error when unmarking all flows.
|
||||
([#7192](https://github.com/mitmproxy/mitmproxy/pull/7192), @bburky)
|
||||
- mitmproxy now officially supports Python 3.13.
|
||||
([#6934](https://github.com/mitmproxy/mitmproxy/pull/6934), @mhils)
|
||||
- Add HTTP3 support in HTTPS reverse-proxy mode
|
||||
|
@ -68,7 +68,7 @@ class Core:
|
||||
Mark flows.
|
||||
"""
|
||||
updated = []
|
||||
if marker not in emoji.emoji:
|
||||
if not (marker == "" or marker in emoji.emoji):
|
||||
raise exceptions.CommandError(f"invalid marker value")
|
||||
|
||||
for i in flows:
|
||||
|
Loading…
x
Reference in New Issue
Block a user