You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http request is <scheme>://<host>/<path>?state=xxx&state=yyy
Function in controller is func(@RequestParam(value = "state", required = false) List states)
Expected behavior
Param states contains {"xxx", "yyy"}
Actual behavior
Param states contains {"xxx"}
Proposed fix
In AwsProxyHttpServletRequest#getParameterValues instead of using AwsProxyHttpServletRequest#getFirstQueryParamValue
use AwsProxyHttpServletRequest#getParameterValues
Possible workaround
request in form <scheme>://<host>/<path>?state=xxx,yyy will work with spring
The text was updated successfully, but these errors were encountered:
Scenario
http request is
<scheme>://<host>/<path>?state=xxx&state=yyy
Function in controller is func(@RequestParam(value = "state", required = false) List states)
Expected behavior
Param states contains {"xxx", "yyy"}
Actual behavior
Param states contains {"xxx"}
Proposed fix
In AwsProxyHttpServletRequest#getParameterValues instead of using AwsProxyHttpServletRequest#getFirstQueryParamValue
use AwsProxyHttpServletRequest#getParameterValues
Possible workaround
request in form
<scheme>://<host>/<path>?state=xxx,yyy
will work with springThe text was updated successfully, but these errors were encountered: