Skip to content

Conversation

@Maren0000
Copy link
Contributor

This PR makes it so that the find_best_message function for protobuf message detection will check any messages in the .proto files that don't have services, before falling back to either the first service or first message found.

I've also made it so that fmt display function for RpcInfo will check if the service is empty or not. Just helps to make logging a bit prettier for people who make their own contentview scripts and don't fill in a service when changing the URL path.

@Maren0000 Maren0000 changed the title Feature: Check for matching protobuf message before fallbacks Feature: Check for matching protobuf message without service before fallbacks Jul 15, 2025
Copy link
Member

@mhils mhils left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 😃

@mhils mhils merged commit 9afe4bb into mitmproxy:main Jul 16, 2025
23 checks passed
@Maren0000 Maren0000 deleted the feat-proto-message-check branch July 17, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants