Bug564-JiangChao #152
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "Bug564-JiangChao"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
admin管理文章界面的删除文章没有二次确认,即点即删。127.0.0.1:5000/admin/article?delete_id=50就直接删除了article_id=50的文章,而且使用的是get请求,可能受到CSRF攻击,不安全。建议增加二次确认,并验证article_id确实存在于数据库中,改成post请求。
已经验证