]> Cypherpunks.ru repositories - gostls13.git/commit
html/template: avoid race when escaping updates template
authorIan Lance Taylor <iant@golang.org>
Thu, 3 Dec 2020 03:18:46 +0000 (19:18 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 17 Dec 2020 03:20:55 +0000 (03:20 +0000)
commit5a4db102b21489c39b3a654e06cc25155432a38a
tree626c58631c532b18af92b1ee494eeccd98397f00
parentb0f01e17f8f8165b1ae273282eec00d78105e2fe
html/template: avoid race when escaping updates template

Fixes #39807

Change-Id: Icf384f800e2541bc753507daa3a9bc7e5d1c3f79
Reviewed-on: https://go-review.googlesource.com/c/go/+/274450
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Roberto Clapis <roberto@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/html/template/exec_test.go
src/html/template/template.go