diff --git a/_content/doc/go1.19.html b/_content/doc/go1.19.html index 97ab8c61..10dc7334 100644 --- a/_content/doc/go1.19.html +++ b/_content/doc/go1.19.html @@ -639,6 +639,11 @@ as well as support for rendering them to HTML, Markdown, and text. instead of its own named type. This allows writing code that operates on a FuncMap from either setting.

+

+ Go 1.19.8 and later + disallow actions in ECMAScript 6 template literals. + This behavior can be reverted by the GODEBUG=jstmpllitinterp=1 setting. +

@@ -687,7 +692,24 @@ as well as support for rendering them to HTML, Markdown, and text. AddExtensionType.

- + + +
mime/multipart
+
+

+ In Go 1.19.8 and later, this package sets limits the size + of the MIME data it processes to protect against malicious inputs. + Reader.NextPart and Reader.NextRawPart limit the + number of headers in a part to 10000 and Reader.ReadForm limits + the total number of headers in all FileHeaders to 10000. + These limits may be adjusted with the GODEBUG=multipartmaxheaders + setting. + Reader.ReadForm further limits the number of parts in a form to 1000. + This limit may be adjusted with the GODEBUG=multipartmaxparts + setting. +

+
+
net
diff --git a/_content/doc/go1.20.html b/_content/doc/go1.20.html index cea648cb..5e449797 100644 --- a/_content/doc/go1.20.html +++ b/_content/doc/go1.20.html @@ -828,6 +828,16 @@ proxyHandler := &httputil.ReverseProxy{
+
html/template
+
+

+ Go 1.20.3 and later + disallow actions in ECMAScript 6 template literals. + This behavior can be reverted by the GODEBUG=jstmpllitinterp=1 setting. +

+
+
+
io

@@ -899,6 +909,18 @@ proxyHandler := &httputil.ReverseProxy{ Methods of the Reader type now wrap errors returned by the underlying io.Reader.

+

+ In Go 1.19.8 and later, this package sets limits the size + of the MIME data it processes to protect against malicious inputs. + Reader.NextPart and Reader.NextRawPart limit the + number of headers in a part to 10000 and Reader.ReadForm limits + the total number of headers in all FileHeaders to 10000. + These limits may be adjusted with the GODEBUG=multipartmaxheaders + setting. + Reader.ReadForm further limits the number of parts in a form to 1000. + This limit may be adjusted with the GODEBUG=multipartmaxparts + setting. +