XSS: Fixed history XSS issue (#22680)

This commit is contained in:
Torkel Ödegaard
2020-03-10 14:56:27 +01:00
committed by GitHub
parent cd012bdfb4
commit da37f4c83f
2 changed files with 5 additions and 5 deletions

View File

@ -59,7 +59,7 @@ var (
<span class="diff-line-number">
{{if .RightLine }}{{ .RightLine }}{{ end }}
</span>
<span class="diff-value diff-indent-{{ .Indent }}" title="{{ .Text }}">
<span class="diff-value diff-indent-{{ .Indent }}" title="{{ .Text }}" ng-non-bindable>
{{ .Text }}
</span>
<span class="diff-line-icon">{{ ctos .Change }}</span>