fix XSS on opengraph tags

This commit is contained in:
Fornax committed 2020-12-07 22:23:29 +01:00
1 parent 69e3a34d86
commit e35e6b0f45
8 files changed
+95 -97

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
<link rel="shortcut icon" sizes="196x196" href="/res/img/pixeldrain_196.png" />
<meta name="theme-color" content="#75AD38"/>
{{.OGData}}
{{ template "opengraph" .OGData }}
<script>
const initialNode = {{.Other}};
window.api_endpoint = '{{.APIEndpoint}}';