From 923873db85bbc53b027a3b8194c364c0e39161d4 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 17 Sep 2015 14:22:46 -0400 Subject: [PATCH] fix possible XSS in view issue page --- templates/repo/issue/view_content.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index d258d3d0a..13729c95a 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -124,7 +124,7 @@
- {{.Content | Safe}} + {{.Content | Str2html}}
{{end}}