summaryrefslogtreecommitdiffstats
path: root/packages/markdown/marked/test/new/mangle_xss.md
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-04-20 15:18:33 +0300
committerLauri Ojansivu <x@xet7.org>2019-04-20 15:18:33 +0300
commit73e265d8fd050ae3daa67472b4465a5c49d68910 (patch)
tree677b233934a43d8f873e24c794ce289d85e3a9b7 /packages/markdown/marked/test/new/mangle_xss.md
parent6117097a93bfb11c8bd4c87a23c44a50e22ceb87 (diff)
downloadwekan-73e265d8fd050ae3daa67472b4465a5c49d68910.tar.gz
wekan-73e265d8fd050ae3daa67472b4465a5c49d68910.tar.bz2
wekan-73e265d8fd050ae3daa67472b4465a5c49d68910.zip
Include to Wekan packages directory contents, so that meteor command would build all directly.
This also simplifies build scripts. Thanks to xet7 !
Diffstat (limited to 'packages/markdown/marked/test/new/mangle_xss.md')
-rw-r--r--packages/markdown/marked/test/new/mangle_xss.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/markdown/marked/test/new/mangle_xss.md b/packages/markdown/marked/test/new/mangle_xss.md
new file mode 100644
index 00000000..419bd124
--- /dev/null
+++ b/packages/markdown/marked/test/new/mangle_xss.md
@@ -0,0 +1,7 @@
+---
+sanatize: true
+mangle: false
+---
+<<svg/onload="alert(1)"//@x>
+
+<bar"onclick="alert('XSS')"@foo>