Skip to content

Make stricter IP format check in IpAddressMatcher #17500

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 31, 2025

Conversation

therepanic
Copy link
Contributor

I think we won't lose anything if we make the regex in the matcher class more strict.

Closes: gh-17499

@therepanic
Copy link
Contributor Author

I assume the build is crashing not because of my changes?

* What went wrong:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
Execution failed for task ':spring-security-oauth2-client:compileJava'.

@jzheaux jzheaux self-assigned this Jul 31, 2025
@jzheaux jzheaux added in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Jul 31, 2025
@jzheaux jzheaux added this to the 7.0.0-M2 milestone Jul 31, 2025
@jzheaux
Copy link
Contributor

jzheaux commented Jul 31, 2025

Thanks, @therepanic, for the PR!

I've rebased with the latest and restarted the build. It will merge once the build completes.

@jzheaux jzheaux enabled auto-merge (rebase) July 31, 2025 16:20
@jzheaux jzheaux merged commit 2fbe8dd into spring-projects:main Jul 31, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IpAddressMatcher allows hostnames
3 participants