Files
edx-platform/scripts/xsslint/tests/templates/test.py
2018-03-01 09:46:16 -05:00

6 lines
186 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
# Testing encoding on second line does not cause violation
message = "<script>alert('XSS');</script>"
x = "<string>{}</strong>".format(message)