link should be noreferrer

This commit is contained in:
Ted Unangst 2019-07-28 22:01:34 -04:00
parent cba3848345
commit 9f5d3cccde
1 changed files with 1 additions and 1 deletions

View File

@ -568,7 +568,7 @@ func showhonker(w http.ResponseWriter, r *http.Request) {
honks = gethonksbyhonker(u.UserID, name)
}
name = html.EscapeString(name)
msg := fmt.Sprintf(`honks by honker: <a href="%s">%s</a>`, name, name)
msg := fmt.Sprintf(`honks by honker: <a href="%s" ref="noreferrer">%s</a>`, name, name)
honkpage(w, r, u, nil, honks, template.HTML(msg))
}