Skip to content
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

StringUtils.parseLocaleString(): does not parse locale string in java 7 for Serbian (Latin) [SPR-14718] #19283

spring-projects-issues opened this issue Sep 15, 2016 · 1 comment


Copy link

@spring-projects-issues spring-projects-issues commented Sep 15, 2016

Chalitha Jayanath opened SPR-14718 and commented

StringUtils.parseLocaleString() does not parse locale String in java 7 for Serbian (Latin).

The Locale.toString() method is different from Java 6 to Java 7, also the Locale Code (variants) are different as well hence its returning different values in Java 7.

StringUtils.parseLocaleString() unable to pass the Locale Serbian (Latin) local.

See the attached Error log

Affects: 3.2.17, 4.2.7, 4.3.2


Issue Links:

  • #12435 Vulnerability in LocaleChangeInterceptor
  • #21192 Revise StringUtils.parseLocale(String) for proper handling of corner cases

Backported to: 4.2.8, 3.2.18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants