Browse Source

fix possible XSS in view issue page

for-closed-social
Unknwon 9 years ago
parent
commit
923873db85
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/repo/issue/view_content.tmpl

+ 1
- 1
templates/repo/issue/view_content.tmpl View File

@ -124,7 +124,7 @@
<div class="detail">
<span class="octicon octicon-git-commit"></span>
<span class="text grey">{{.Content | Safe}}</span>
<span class="text grey">{{.Content | Str2html}}</span>
</div>
</div>
{{end}}

Loading…
Cancel
Save