You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user defines their own function to template.Funcs that happens to have the same name as one of the internal escaping functions (such as "html_template_htmlescaper"), the user's function will be silently overwritten: http://play.golang.org/p/C3ER2PBU1P
This isn't a huge issue, but it does seem like a smell since it's something we can detect/prevent.
The text was updated successfully, but these errors were encountered:
If a user defines their own function to
template.Funcs
that happens to have the same name as one of the internal escaping functions (such as"html_template_htmlescaper"
), the user's function will be silently overwritten: http://play.golang.org/p/C3ER2PBU1PThis isn't a huge issue, but it does seem like a smell since it's something we can detect/prevent.
The text was updated successfully, but these errors were encountered: