-
Notifications
You must be signed in to change notification settings - Fork 38.4k
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
@RequestMapping handled incorrectly when value contains "." (dot) character [SPR-6482] #11148
Comments
Grzegorz Borkowski commented We have the same problem. After switching to RC3, some code stopped working, throwing "no mapping found for HTTP request". |
Scott Andrews commented Unit test for UriTemplateServletAnnotationControllerTests.java that demonstrates this issue. Changing the mapping to include an explicit regex allows the test to path, but is not ideal. For example: |
Arjen Poutsma commented This regression was due to a matching change made as fix for #10947. I've reverted that behavior, so things should work now. Could you please try a upcoming snapshot and see if it is fixed? |
Christopher Anderson commented Excellent, will try tonight's build tomorrow. |
Christopher Anderson commented That worked. Thanks |
Kirk Larsen commented test |
Christanto commented The issue still happens in 3.0.5. |
Christanto commented Sorry I think you can close this as this issue is actually reported in #10832. |
Aleš Najmann opened SPR-6482 and commented
At the moment in my code exist method with such signature:
order is String variable containing ognl-like expresssion ie. "raging.result" (which I later use for BeanComparator) but this mapping is in version RC3 is not found, which is different behaviour from RC2 where there is no such problem.
Log message with example of given fault result is:
There is no problem with handling path which doesn't contain more '.' (dot) characters, so this can probably help you with analysis of the problem.
Affects: 3.0 RC3
Attachments:
Issue Links:
@RequestMapping
in RC3 ("is duplicated by")@MVC
URI Template Variable Regression - Matching values containing . (dot) ("is duplicated by")Referenced from: commits 976f920
1 votes, 3 watchers
The text was updated successfully, but these errors were encountered: