Skip to content
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

Fix: requests not matching defined routes trigger per-route filters #2663

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

zhaohuabing
Copy link
Member

@zhaohuabing zhaohuabing commented Feb 20, 2024

This PR disables per-route filters in http_filters, and removes the filter configuration in the route_config.
This fixes #2606 without needing to add a catch-all-return-404 route.

Fix #2606
Related: envoyproxy/envoy#32484

@zhaohuabing zhaohuabing requested a review from a team as a code owner February 20, 2024 12:23
Copy link

codecov bot commented Feb 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (579b3b4) 63.36% compared to head (7d4c844) 63.36%.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #2663    +/-   ##
========================================
  Coverage   63.36%   63.36%            
========================================
  Files         119      119            
  Lines       19234    19098   -136     
========================================
- Hits        12187    12102    -85     
+ Misses       6233     6196    -37     
+ Partials      814      800    -14     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
@zhaohuabing zhaohuabing changed the title Fix per route config Fix: requests not matching defined routes trigger per-route filters Feb 20, 2024
@zhaohuabing zhaohuabing enabled auto-merge (squash) February 20, 2024 13:47
Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks !

@zhaohuabing zhaohuabing merged commit 7ab3da6 into envoyproxy:main Feb 20, 2024
20 checks passed
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.

OIDC security policy is leaking on other routes
2 participants