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
On Go 1.3, calling the Execute() function on a Template that could not be escaped due to
an error that is returned on the first execution (for example `"\"" in
attribute name`), a panic is caused on the second execution.
This is caused by a security measure in html/template/escape.go:34, where the template
is invalidated when the template could not be escaped. While this is documented in the
escapeTemplates function locally, this behavior is not (at least I think so) documented
in the public documentation of html/template.
Aside from that, I think this behavior should be changed to return the same error on
every call instead of invalidating the template.
The text was updated successfully, but these errors were encountered:
by hebipp1:
The text was updated successfully, but these errors were encountered: