fix XSS on opengraph tags

This commit is contained in:
2020-12-07 22:23:29 +01:00
parent 69e3a34d86
commit e35e6b0f45
8 changed files with 95 additions and 97 deletions

View File

@@ -34,7 +34,7 @@ type TemplateData struct {
// Only used on file viewer page
Title string
OGData template.HTML
OGData ogData
Other interface{}
URLQuery url.Values