XSS: Fixed history XSS issue (#22680)

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

No files matched your search

+4 -4
View File
@@ -339,11 +339,11 @@ var (
<!-- Overview -->
{{ if .Old }}
<div class="diff-label">{{ .Old }}</div>
<div class="diff-label" ng-non-bindable>{{ .Old }}</div>
<i class="diff-arrow fa fa-long-arrow-right"></i>
{{ end }}
{{ if .New }}
<div class="diff-label">{{ .New }}</div>
<div class="diff-label" ng-non-bindable>{{ .New }}</div>
{{ end }}
{{ if .LineStart }}
@@ -380,11 +380,11 @@ var (
<div class="diff-change-item">
{{ if .Old }}
<div class="diff-label">{{ .Old }}</div>
<div class="diff-label" ng-non-bindable>{{ .Old }}</div>
<i class="diff-arrow fa fa-long-arrow-right"></i>
{{ end }}
{{ if .New }}
<div class="diff-label">{{ .New }}</div>
<div class="diff-label" ng-non-bindable>{{ .New }}</div>
{{ end }}
</div>