Case insensitve matching of Query parameters using ModelAttribute [SPR-13676] #18251
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Manikandan Nagarajan opened SPR-13676 and commented
I wanted to make my URL Case Insensitive, including the query string parameters. I currently use ModelAttribute to bind request params to my model.
I have googled about this a lot in the past couple of days and the only viable solution that I could find was to use a Custom Filter and use RequestParams to bind the values. Here is the best I could find so far, http://stackoverflow.com/a/29533456/3131696 but this doesn't support case insensitive matching.
As the Web API is built on top of HTTP, I would like to confirm to the URL standards and make my query parameters case insensitive.
Can this be made available ?
Note: There was another similar request #17876, but the fix only work for Path parameters, this request is to extend that to Query parameters as well.
Affects: 4.2.3
Reference URL: http://stackoverflow.com/questions/32364126/spring-mvc-case-insensitive-get-parameters-mapping
4 votes, 5 watchers
The text was updated successfully, but these errors were encountered: