-
Notifications
You must be signed in to change notification settings - Fork 55
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
如果排序的是关键字,怎么办? #2
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
数据库Mysql,
比如order by key asc,是报错的,因为key是关键字;
这时候要修改为order by
key
asc;尝试修改代码写成:new PageBounds(Order.formString("
key
.asc"))但会报错,因为Order类中INJECTION_REGEX正则定义没有包含“`”;
private static String INJECTION_REGEX = "[A-Za-z0-9_-+.]+";
是否可以加上解决这个问题,谢谢!
The text was updated successfully, but these errors were encountered: