Skip to content

[Faults] Require a strict method match when m is provided. #701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 14, 2025

Conversation

HiramSilvey
Copy link
Contributor

Do not allow matching when the configuration is for a specific method and the real method is unknown.

The main idea here is that if someone wanted to inject a fault on the foobar method, a request with an unknown method should not also have that fault injected just because the primary address matched.

Note that this has already been merged into bpv2 and this PR is just to get bpv0 on the same page. This will be followed by another PR getting bpv0 up to sync as well.

Do not allow matching when the configuration is for a specific method
and the real method is unknown.

The main idea here is that if someone wanted to inject a fault on the
`foobar` method, a request with an unknown method should not also have
that fault injected just because the primary address matched.

Note that this has already been merged into bpv2 and this PR is just
to get bpv0 on the same page.
@HiramSilvey HiramSilvey marked this pull request as ready for review July 14, 2025 14:55
@HiramSilvey HiramSilvey requested a review from a team as a code owner July 14, 2025 14:55
@HiramSilvey HiramSilvey requested review from fishy, konradreiche and mathyourlife-reddit and removed request for a team July 14, 2025 14:55
@HiramSilvey HiramSilvey merged commit 99c99dd into reddit:master Jul 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants