]> Cypherpunks.ru repositories - gostls13.git/commitdiff
all: restore changes from faulty merge/revert
authorAndrew Bonventre <andybons@golang.org>
Mon, 12 Feb 2018 20:13:33 +0000 (20:13 +0000)
committerAndrew Bonventre <andybons@golang.org>
Mon, 12 Feb 2018 20:13:59 +0000 (20:13 +0000)
This reverts commit 3b6abd8a4501d816e80b4d46e6fda4df486ccb66.

Change-Id: I8ca100501c1844af78a547989786d14dac6b494a
Reviewed-on: https://go-review.googlesource.com/93456
Reviewed-by: Andrew Bonventre <andybons@golang.org>
.github/PULL_REQUEST_TEMPLATE [deleted file]
CONTRIBUTING.md
README.md
doc/devel/release.html
doc/diagnostics.html
doc/go1.10.html
src/cmd/fix/cftype.go

diff --git a/.github/PULL_REQUEST_TEMPLATE b/.github/PULL_REQUEST_TEMPLATE
deleted file mode 100644 (file)
index 00014e9..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-Please do not send pull requests to the golang/* repositories.
-
-We do, however, take contributions gladly.
-
-See https://golang.org/doc/contribute.html
-
-Thanks!
index 4f2c4d4b02fe1724c805c3cf1219ed7d8ce66abf..7c1dd54b302898aae9ea3a16d5d0af3d6ae9342b 100644 (file)
@@ -30,11 +30,6 @@ For change proposals, see [Proposing Changes To Go](https://github.com/golang/pr
 
 Please read the [Contribution Guidelines](https://golang.org/doc/contribute.html) before sending patches.
 
-**We do not accept GitHub pull requests**
-(we use [an instance](https://go-review.googlesource.com/) of the
-[Gerrit](https://www.gerritcodereview.com/) code review system instead).
-Also, please do not post patches on the issue tracker.
-
 Unless otherwise noted, the Go source files are distributed under
 the BSD-style license found in the LICENSE file.
 
index 57492b3fb03fa08261e29710d3341dbe7778568e..bb3d895d45ae9e1f4ac9364d5c8416d1feac6522 100644 (file)
--- a/README.md
+++ b/README.md
@@ -36,10 +36,9 @@ Go is the work of hundreds of contributors. We appreciate your help!
 To contribute, please read the contribution guidelines:
        https://golang.org/doc/contribute.html
 
-Note that the Go project does not use GitHub pull requests, and that
-we use the issue tracker for bug reports and proposals only. See
-https://golang.org/wiki/Questions for a list of places to ask
-questions about the Go language.
+Note that the Go project uses the issue tracker for bug reports and
+proposals only. See https://golang.org/wiki/Questions for a list of
+places to ask questions about the Go language.
 
 [rf]: https://reneefrench.blogspot.com/
 [cc3-by]: https://creativecommons.org/licenses/by/3.0/
index 24fe583062af88632949f15d8ac4079bc24e63b0..d82fb0c630c7c3955988afefe87799f39376246d 100644 (file)
@@ -57,6 +57,12 @@ See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.3">Go
 1.9.3 milestone</a> on our issue tracker for details.
 </p>
 
+<p>
+go1.9.4 (released 2018/02/07) includes a security fix to “go get”.
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.9.4">Go
+1.9.4</a> milestone on our issue tracker for details.
+</p>
+
 <h2 id="go1.8">go1.8 (released 2017/02/16)</h2>
 
 <p>
@@ -114,6 +120,13 @@ See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.8.6">Go
 1.8.6 milestone</a> on our issue tracker for details.
 </p>
 
+<p>
+go1.8.7 (released 2018/02/07) includes a security fix to “go get”.
+It contains the same fix as Go 1.9.4 and was released at the same time.
+See the <a href="https://github.com/golang/go/issues?q=milestone%3AGo1.8.7">Go
+1.8.7</a> milestone on our issue tracker for details.
+</p>
+
 <h2 id="go1.7">go1.7 (released 2016/08/15)</h2>
 
 <p>
index 0ed0e81b92b741d2860a683f7aa4fed5be0147e1..35aae156e8bb85fa210c5e248d75b2b83b4cb42a 100644 (file)
@@ -222,7 +222,7 @@ an execution tracer to trace the runtime events within an interval.
 <p>Tracing enables us to:</p>
 
 <ul>
-<li>Instrument and profile application latency in a Go process.</li>
+<li>Instrument and analyze application latency in a Go process.</li>
 <li>Measure the cost of specific calls in a long chain of calls.</li>
 <li>Figure out the utilization and performance improvements.
 Bottlenecks are not always obvious without tracing data.</li>
index 5885176f46c01620e53d4e73bf8e060781174266..569e420d51f0a0a8a35d01a78e72caa424414e37 100644 (file)
@@ -785,7 +785,8 @@ Parsed certificates also now report URI names and IP, email, and URI constraints
 <a href="/pkg/crypto/x509/#Certificate"><code>Certificate</code></a> fields
 <code>URIs</code>, <code>PermittedIPRanges</code>, <code>ExcludedIPRanges</code>,
 <code>PermittedEmailAddresses</code>, <code>ExcludedEmailAddresses</code>,
-<code>PermittedURIDomains</code>, and <code>ExcludedURIDomains</code>.
+<code>PermittedURIDomains</code>, and <code>ExcludedURIDomains</code>. Certificates with
+invalid values for those fields are now rejected.
 </p>
 
 <p>
index df1cc18f9ead3a098c76979942040744f7d1d9cd..b47b06682add8040c98fa9480e73bf3788d6e062 100644 (file)
@@ -119,7 +119,7 @@ func typefix(f *ast.File, badType func(string) bool) bool {
                if !ok {
                        return
                }
-               t := s.X.(*ast.SelectorExpr)
+               t, ok := s.X.(*ast.SelectorExpr)
                if !ok {
                        return
                }