Go-SCP icon indicating copy to clipboard operation
Go-SCP copied to clipboard

XSS Section is good, but clarify `text/template`

Open lojikil opened this issue 5 years ago • 0 comments

We mention that text/template won't save you from XSS, but the documentation explicitly states that it is unsafe for handling user input. We should clarify that the threat model for text/template does not handle user input, and that html/template is only safe iff passed user data as parameters (e.g. we need to avoid Template Injection)

lojikil avatar Sep 21 '20 13:09 lojikil