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 IP address parse error message in IpAddressMatcher#parseAddress() #11713

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

cyb3r4nt
Copy link
Contributor

There is no whitespace between error message and IP address value IpAddressMatcher#parseAddress()
If IP value is wrong, then error text looks like Failed to parse addressi.am.ip.
There should be some separator between those two text tokens.

Also wrapped the address value with single quotes.
Will this add any confusion for the caller?
Or colon and "Failed to parse address: $value looks better?

There is no whitespace between error message and IP address value  `IpAddressMatcher#parseAddress()`
If IP value is wrong, then error text looks like `Failed to parse addressi.am.ip`.
There should be some separator between those two text tokens.

Also wrapped the address value with single quotes.
Will this add any confusion for the caller?
Or colon and `"Failed to parse address: $value` looks better?
@pivotal-cla
Copy link

@cyb3r4nt Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@cyb3r4nt Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 16, 2022
@jzheaux jzheaux self-assigned this Aug 16, 2022
@jzheaux jzheaux added in: web An issue in web modules (web, webmvc) type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 16, 2022
@jzheaux jzheaux modified the milestones: 5.8.0-M3, 6.0.0-M7 Aug 16, 2022
@jzheaux jzheaux merged commit 1d555b6 into spring-projects:main Aug 18, 2022
@jzheaux
Copy link
Contributor

jzheaux commented Aug 18, 2022

Thanks, @cyb3r4nt! This is now merged into main.

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: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants