[Update] 防止 XSS (#2633)

* [Bugfix] 修改管理用户列表显示bug

* [Bugfix] 修复刷新批量命令页面的bug

* [Update] 防止 XSS
This commit is contained in:
BaiJiangJie
2019-04-25 18:16:41 +08:00
committed by 老广
parent 4463e7545d
commit b7ad6cfe62
17 changed files with 27 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
from django.utils.translation import ugettext_lazy as _
create_success_msg = _("<b>%(name)s</b> was created successfully")
update_success_msg = _("<b>%(name)s</b> was updated successfully")
create_success_msg = _("%(name)s was created successfully")
update_success_msg = _("%(name)s was updated successfully")
FILE_END_GUARD = ">>> Content End <<<"
celery_task_pre_key = "CELERY_"