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
After upgrading to Spring Boot 1.3.0.M5 from 1.2.6.RELEASE I have problems with logging in with usernames containing non ASCII characters. It seems that the encoding in the request parameters is ISO-8859-1 instead of UTF-8 and therefore the user is not found.
Here is a sample JHipster application showing this problem. You can start it with mvn spring-boot:run and try to login with username abcåäö and password user.
The issue can be solved with adding the encoding into the content type by setting it to
After upgrading to Spring Boot 1.3.0.M5 from 1.2.6.RELEASE I have problems with logging in with usernames containing non ASCII characters. It seems that the encoding in the request parameters is ISO-8859-1 instead of UTF-8 and therefore the user is not found.
The login is trying to
POST
withHere is a sample JHipster application showing this problem. You can start it with
mvn spring-boot:run
and try to login with usernameabcåäö
and passworduser
.The issue can be solved with adding the encoding into the content type by setting it to
in src/main/webapp/scripts/components/auth/provider/auth.session.service.js
Here is a screenshot of the request from the browser console
and here is the request created by the server
as you can see the ecoding is not UTF-8 but the queryStringEncoding is UTF-8
The text was updated successfully, but these errors were encountered: