Skip to content

Commit

Permalink
修复可能存在的注入
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-hao committed Apr 8, 2019
1 parent 514dd71 commit 6201d8a
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -11,7 +11,11 @@ public class Sort extends Column {
private String order = "asc";

public String getOrder() {
return order;
if ("desc".equalsIgnoreCase(order)) {
return order;
} else {
return order = "asc";
}
}

public void setOrder(String order) {
Expand Down

0 comments on commit 6201d8a

Please sign in to comment.