Skip to content

Commit b22b7e8

Browse files
committed
Added validation for operators and non raw column names
1 parent 478ef58 commit b22b7e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/javawebstack/orm/query/QueryColumn.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
public class QueryColumn {
1111

12-
private static final Pattern NAME_PATTERN = Pattern.compile("[A-Za-z0-9_-]+");
12+
private static final Pattern NAME_PATTERN = Pattern.compile("[A-Za-z0-9_\\-.]+");
1313

1414
private final String name;
1515
private final boolean raw;

0 commit comments

Comments
 (0)