go/src
Didier Spezia 91d989eb6d html/template: fix pipeline sanitization
Pipelines are altered by inserting sanitizers if they are not
already present. The code makes the assumption that the first
operands of each commands are function identifiers.

This is wrong, since they can also be methods. It results in
a panic with templates such as {{1|print 2|.f 3}}

Adds an extra type assertion to make sure only identifiers
are compared with sanitizers.

Fixes #10673

Change-Id: I3eb820982675231dbfa970f197abc5ef335ce86b
Reviewed-on: https://go-review.googlesource.com/9801
Reviewed-by: Rob Pike <r@golang.org>
2015-05-08 18:05:32 +00:00
..
archive
bufio
builtin
bytes
cmd cmd/cgo: wrap generated exports with extern "C" for C++ 2015-05-08 04:23:43 +00:00
compress
container
crypto
database/sql
debug debug/dwarf: compute ByteSize for more DWARF types 2015-05-07 07:28:39 +00:00
encoding
errors
expvar
flag
fmt fmt: fix panic with large precision 2015-05-07 20:12:39 +00:00
go go/build: enable cgo by default on iOS 2015-05-06 23:39:40 +00:00
hash
html html/template: fix pipeline sanitization 2015-05-08 18:05:32 +00:00
image image/gif: allow encoding a single-frame image whose top-left corner 2015-05-06 01:00:58 +00:00
index/suffixarray
internal
io
log
math
mime
net net: do not skip TestAcceptIgnoreSomeErrors 2015-05-07 06:59:25 +00:00
os os: eradicate smallpox after test 2015-05-06 17:38:57 +00:00
path
reflect
regexp
runtime cmd/internal/ld: generate correct .debug_frames on RISC architectures 2015-05-08 00:34:27 +00:00
sort
strconv
strings
sync
syscall syscall, net: use sendfile on Solaris 2015-05-06 12:26:35 +00:00
testing testing: document that Log and Logf always print in benchmarks 2015-05-06 20:59:36 +00:00
text text/template: delete obsolete nil check 2015-05-07 20:13:14 +00:00
time time: deflake TestAfterQueuing 2015-05-06 19:26:27 +00:00
unicode
unsafe
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash buildall.bash: also build for linux/arm with GOARM=5 2015-05-07 02:56:23 +00:00
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash
make.bat
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc