5 ms·
This piece of code in hackernews.go could lead to XSS I think // Main post content (for text posts) if thread.Content != "" { html.WriteString(`<div class="
by mtmail 1y ago
This piece of code in hackernews.go could lead to XSS I think
// Main post content (for text posts)
if thread.Content != "" {
html.WriteString(`<div class="hn-content">`)
html.WriteString(thread.Content)
html.WriteString(`</div>`)
}