mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-24 07:39:09 +00:00
NamedParameterUtils.isParameterSeparator checks for non-ASCII characters
Issue: SPR-16472
This commit is contained in:
+1
-1
@@ -391,7 +391,7 @@ public abstract class NamedParameterUtils {
|
||||
* that is, whether the given character qualifies as a separator.
|
||||
*/
|
||||
private static boolean isParameterSeparator(char c) {
|
||||
return (separatorIndex[c] || Character.isWhitespace(c));
|
||||
return (c < 128 && separatorIndex[c]) || Character.isWhitespace(c);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user