««« backport d088bc4e2e64
encoding/asn1: allow lengths up to the maximum int value.
Previously we capped lengths at 2**24 rather than 2**31.
R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/6050050
»»»
««« backport 6a2ea47583df
crypto/tls: don't always use the default private key.
When SNI based certificate selection is enabled, we previously used
the default private key even if we selected a non-default certificate.
Fixes#3367.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5987058
»»»
««« backport 4ed98a6b6fe5
time: panic if UnixNano is out of range
R=golang-dev, remyoudompheng, dsymonds, gustavo, dchest, r, rsc
CC=golang-dev
https://golang.org/cl/5985059
»»»
««« backport 344d5c33331a
fmt: fix crash of %b on huge negative int64
The buffer had 64 bytes but needs one more for the sign.
Fixes#3510.
R=golang-dev, dave, dsymonds
CC=golang-dev
https://golang.org/cl/6011057
»»»
««« backport 5eadbc72f1d2
encoding/pem: ignore spaces and tabs at the end of header lines.
Fixes#3502.
R=bradfitz
CC=golang-dev
https://golang.org/cl/6011046
»»»
««« backport a70135896879
html, exp/html: escape ' and " as ' and ", since IE8 and
below do not support '.
This makes package html consistent with package text/template's
HTMLEscape function.
Fixes#3489.
R=rsc, mikesamuel, dsymonds
CC=golang-dev
https://golang.org/cl/5992071
»»»
««« backport a7db811befb8
runtime.Callers: make documentation match code
It is a bug that Caller and Callers disagree about the offset of the skip
parameter. Document the bug.
R=rsc, dsymonds, r, iant
CC=golang-dev
https://golang.org/cl/5976064
»»»
««« backport aa9954952235
doc/code: update newmath.Sqrt test case to make sure test succeed
Fixes#3445.
R=golang-dev, rsc, mtj
CC=golang-dev
https://golang.org/cl/5975061
»»»
««« backport 6b46fb967ca4
net/url: Correctly escape URL as per RFC 3986
The shouldEscape function did not correctly escape the reserved characters listed in RFC 3986 §2.2, breaking some strict web servers.
Fixes#3433.
R=rsc
CC=golang-dev
https://golang.org/cl/5970050
»»»
««« backport 2a52a9484c10
cmd/go: in go get, don't try to perform discovery on non-hosts
Before, "go get -v foo/bar" was assuming "foo" was a hostname
and trying to perform discovery on it. Now, require a dot in
the first path component (the hostname).
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5981057
»»»
««« backport b127df6df1ab
encoding/ascii85: fix panic caused by special case
Special case for encoding 4 zeros as 'z' didn't
update source slice, causing 'index out of bounds'
panic in destination slice.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5970078
»»»
««« backport fda7b4c9978d
time.RFC822: make the string standard-compliant
For mysterious reasons, the existing string was just wrong: it was missing a colon.
There is no apparent reason for this discrepancy.
This should be safe to fix because existing uses would not be RFC822-compliant;
people cannot be depending on it to generate correct mail headers.
Fixes#3444.
R=golang-dev, dsymonds, iant, rsc
CC=golang-dev
https://golang.org/cl/5969072
»»»
««« backport 95e67cc5fa08
encoding/base64: fix panic when input len is not a multiple of 4
Fixes#3442.
R=for.go.yong, dsymonds, sougou, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/5975052
»»»
««« backport c007925a75c6
text/template: pipelined arg was not typechecked
Without this fix, an erroneous template causes a panic; should be caught safely.
The bug did not affect correct templates.
Fixes#3267.
R=golang-dev, dsymonds, rsc
CC=golang-dev
https://golang.org/cl/5900065
»»»
««« backport 8434de733c20
doc/effective_go.html: Add missing '...' for fmt.Sprintf()
The '...' was missing on a call to fmt.Sprintf() which would result in
the slice being printed instead of the correct result.
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5967051
»»»
««« backport fd037b466111
doc/codewalk/markov: fix syntax and broken link
Part of issue 3424.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5955050
»»»
««« backport feb586ac4860
doc/code.html: fix broken dashboard link
Fixes#3420.
Part of issue 3424.
R=golang-dev, cldorian, adg, r
CC=golang-dev
https://golang.org/cl/5958046
»»»
««« backport b8f8e3b892dc
doc/go1: minor fixes
Fixes#3427.
Part of issue 3424.
R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5959045
»»»
««« backport 79e6b4602f26
cmd/go: update docs about tags for get command
"go1" dominates. Delete the text about weekly and release.
We can revisit this once the situation changes.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5969043
»»»