Browse Source

fix possible XSS in view issue page

tags/v1.2.0-rc1
Unknwon 9 years ago
parent
commit
dcaad5f8a9
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"> <div class="detail">
<span class="octicon octicon-git-commit"></span> <span class="octicon octicon-git-commit"></span>
<span class="text grey">{{.Content | Safe}}</span>
<span class="text grey">{{.Content | Str2html}}</span>
</div> </div>
</div> </div>
{{end}} {{end}}


Loading…
Cancel
Save