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
RelationalOperator.fromString(operatorString) will throw an InvalidPathException if the default Locale is tr_TR and operatorString is "in".
This happens because the implementation applies an .toUpperCase on the operatorString without passing a Locale. At least in Turkish, and maybe in other orthographies as well, the uppercase variant does not match what was defined as the uppercase operatorString in RelationalOperator.
I'm going to supply a fix for this.
The text was updated successfully, but these errors were encountered:
renekrie
added a commit
to renekrie/JsonPath
that referenced
this issue
Feb 29, 2020
RelationalOperator.fromString(operatorString)
will throw an InvalidPathException if the default Locale istr_TR
andoperatorString
is"in"
.This happens because the implementation applies an
.toUpperCase
on the operatorString without passing a Locale. At least in Turkish, and maybe in other orthographies as well, the uppercase variant does not match what was defined as the uppercase operatorString in RelationalOperator.I'm going to supply a fix for this.
The text was updated successfully, but these errors were encountered: