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 for drive-by localhost cors deny TCK test #1591

Merged
merged 1 commit into from
Jan 31, 2023
Merged

Fix for drive-by localhost cors deny TCK test #1591

merged 1 commit into from
Jan 31, 2023

Commits on Jan 31, 2023

  1. Fix for drive-by localhost cors deny TCK test

    When the filter blocks access to localhost from a non-local origin, there is no ROUTE_INFO set on the response object.
    
    Previously, we just called get() on the Optional.  This fails.
    
    I believe the fix is to only continue processing the response if the ROUTE_INFO has been applied to the response.
    timyates committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    26c59f2 View commit details
    Browse the repository at this point in the history