sql注入问题
This commit is contained in:
parent
7170fece88
commit
b03b44a3c6
|
@ -200,6 +200,9 @@ public class MCmsAction extends net.mingsoft.cms.action.BaseAction {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(sqlFilter(orderby)){
|
||||||
|
orderby = "id";
|
||||||
|
}
|
||||||
PageBean page = new PageBean();
|
PageBean page = new PageBean();
|
||||||
//根据文章编号查询栏目详情模版
|
//根据文章编号查询栏目详情模版
|
||||||
CategoryEntity column = (CategoryEntity) categoryBiz.getEntity(Integer.parseInt(article.getContentCategoryId()));
|
CategoryEntity column = (CategoryEntity) categoryBiz.getEntity(Integer.parseInt(article.getContentCategoryId()));
|
||||||
|
|
Loading…
Reference in New Issue