Skip to content

Commit

Permalink
escaping of dangerous characters to prevent reflected xss
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterale authored and klboke committed Jan 22, 2021
1 parent e635ca8 commit 2dd0671
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/main/resources/web/fileNotSupported.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
<div class="container">
<img src="images/sorry.jpg" />
<span>
该文件类型(${file.suffix})系统暂时不支持在线预览,<b>说明</b>:
该文件类型(${file.suffix?html})系统暂时不支持在线预览,<b>说明</b>:

<p style="color: red;">${msg}</p>
有任何疑问,请加&nbsp;<a href="https://jq.qq.com/?_wv=1027&k=5c0UAtu">官方QQ群:613025121</a>&nbsp;咨询
</span>
Expand Down

0 comments on commit 2dd0671

Please sign in to comment.