Off by one error in StringUtils.parseLocaleString [SPR-10364] #14996
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Zhihong Zhang opened SPR-10364 and commented
If you have locale "
fr_fr
", Spring will change it into "fr_fr_fr
". The bug is in this method inStringUtils.java
,It assumes that language and country are never the same but in case of "fr_fr", they are the same.
Affects: 3.1 GA
Referenced from: commits e7f89f8
1 votes, 3 watchers
The text was updated successfully, but these errors were encountered: