-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Validate server.servlet.path
does not contain unusual patterns (eg /*
)
#13292
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
Comments
This issue is related to #12934 |
server.servlet.path=/*
The looks like a bit more work like 469372c is necessary |
@candrews The |
I'm not sure why my application has Setting If |
server.servlet.path=/*
server.servlet.path
does not contain unusal patterns (eg /*
)
Good idea, I'll re-purpose this issue to add validation. |
We have some tests that rely on this behavior at the moment. I'm not quite sure what we want to allow for |
server.servlet.path
does not contain unusal patterns (eg /*
)server.servlet.path
does not contain unusual patterns (eg /*
)
|
We discussed this on the call and decided to keep it as strict as possible until someone complains that they really need |
In application.properties:
Make a request for
/actuator/health
I'd expect for the matcher to match, but it doesn't. Looking inside EndpointRequest, the
delegate
field has aOrRequestMatcher
instance composed of anAntPathRequestMatcher
withpattern
set to/*/actuator/health/**
- the pattern should be/actuator/health/**
The text was updated successfully, but these errors were encountered: