mirror of https://github.com/golang/go.git
html: update jstmpllitinterp doc
We no longer do anything with this GODEBUG. Fixes #66217 Change-Id: I998797b6a573013f5b9c8ded835acae572327d18 Reviewed-on: https://go-review.googlesource.com/c/go/+/584117 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Roland Shoemaker <roland@golang.org>
This commit is contained in:
parent
aeb2c2a896
commit
0ec709f180
|
|
@ -193,6 +193,10 @@ Go 1.23 changed the behavior of
|
||||||
serial numbers that are longer than 20 octets. This change can be reverted with
|
serial numbers that are longer than 20 octets. This change can be reverted with
|
||||||
the the [`x509seriallength` setting](/pkg/crypto/x509/#ParseCertificate).
|
the the [`x509seriallength` setting](/pkg/crypto/x509/#ParseCertificate).
|
||||||
|
|
||||||
|
Go 1.23 re-enabled support in html/template for ECMAScript 6 template literals by default.
|
||||||
|
The [`jstmpllitinterp` setting](/pkg/html/template#hdr-Security_Model) no longer has
|
||||||
|
any effect.
|
||||||
|
|
||||||
### Go 1.22
|
### Go 1.22
|
||||||
|
|
||||||
Go 1.22 adds a configurable limit to control the maximum acceptable RSA key size
|
Go 1.22 adds a configurable limit to control the maximum acceptable RSA key size
|
||||||
|
|
|
||||||
|
|
@ -232,11 +232,9 @@ Least Surprise Property:
|
||||||
knows that contextual autoescaping happens should be able to look at a {{.}}
|
knows that contextual autoescaping happens should be able to look at a {{.}}
|
||||||
and correctly infer what sanitization happens."
|
and correctly infer what sanitization happens."
|
||||||
|
|
||||||
As a consequence of the Least Surprise Property, template actions within an
|
Previously, ECMAScript 6 template literal were disabled by default, and could be
|
||||||
ECMAScript 6 template literal are disabled by default.
|
enabled with the GODEBUG=jstmpllitinterp=1 environment variable. Template
|
||||||
Handling string interpolation within these literals is rather complex resulting
|
literals are now supported by default, and setting jstmpllitinterp has no
|
||||||
in no clear safe way to support it.
|
effect.
|
||||||
To re-enable template actions within ECMAScript 6 template literals, use the
|
|
||||||
GODEBUG=jstmpllitinterp=1 environment variable.
|
|
||||||
*/
|
*/
|
||||||
package template
|
package template
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue