aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec_test.go
diff options
context:
space:
mode:
authorSamuel Tan <samueltan@google.com>2017-12-13 22:38:18 -0800
committerRuss Cox <rsc@golang.org>2018-01-10 17:36:27 +0000
commitc9517688c7dbe224bd606050dd7511ad1b10f55a (patch)
tree917efbae0a5cdb457811993949bfd06a1e1bc484 /src/os/exec/exec_test.go
parentdbdeeed02e27e3c3b258230793adbecfc4f9d6b7 (diff)
downloadgo-c9517688c7dbe224bd606050dd7511ad1b10f55a.tar.xz
html/template: check for duplicates when inserting escapers
Ensure that we do not insert any escapers into pipelines that already contain an equivalent escaper. This prevents overescaping from occuring even when an aliased parse tree that has already been escaped is escaped again. Fixes #21844 Change-Id: Ic00d5e01c97ef09a4e49407009cf71b0d07f5c0e Reviewed-on: https://go-review.googlesource.com/83920 Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions