Teach the xss_linter about the require_page tag

This commit is contained in:
Calen Pennington
2018-01-23 15:58:12 -05:00
parent 158ba153f5
commit 974f099835
4 changed files with 2 additions and 3 deletions

View File

@@ -54,7 +54,6 @@ from openedx.core.djangolib.js_utils import js_escaped_string
<%block name="requirejs_page">
<%static:require_page page_name="js/pages/login" class_name="LoginFactory">
## xss-lint: disable=mako-invalid-js-filter, mako-invalid-html-filter
"${reverse('homepage') | n, js_escaped_string}"
</%static:require_page>
</%block>