1
0
mirror of https://github.com/golang/go synced 2024-11-19 17:44:43 -07:00
go/src
Mike Samuel c0cda71dab html/template: add srcset content type
Srcset is largely the same as a URL, but is escaped in URL contexts.
Inside a srcset attribute, URLs have their commas percent-escaped to
avoid having the URL be interpreted as multiple URLs.  Srcset is placed
in a srcset attribute literally.

Fixes #17441

Change-Id: I676b544784c7e54954ddb91eeff242cab25d02c4
Reviewed-on: https://go-review.googlesource.com/38324
Reviewed-by: Kunpei Sakai <namusyaka@gmail.com>
Reviewed-by: Mike Samuel <mikesamuel@gmail.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-12-14 19:54:38 +00:00
..
archive archive/zip: add test for Modified vs ModTime behavior 2017-12-01 00:22:21 +00:00
bufio
builtin
bytes bytes: mention strings.Builder in Buffer.String docs 2017-11-30 01:46:50 +00:00
cmd cmd/go: do not let test vet failures stop reporting of later test results 2017-12-14 17:49:46 +00:00
compress
container
context
crypto crypto/x509: load all trusted certs on darwin (cgo) 2017-12-13 19:27:15 +00:00
database/sql database/sql/driver: explain Driver vs DriverContext vs Connector 2017-12-06 05:05:10 +00:00
debug debug/gosym: update docs for changes in Go 1.3 2017-11-30 22:49:27 +00:00
encoding encoding/xml: don't crash on invalid XMLName tag 2017-12-07 05:09:01 +00:00
errors
expvar
flag flag: clarify comment to avoid shell syntax confusion 2017-12-06 04:36:03 +00:00
fmt
go go/types: remove TODOs from API that cannot be changed (cleanup) 2017-12-14 00:45:50 +00:00
hash hash: add MarshalBinary/UnmarshalBinary round trip + golden test for all implementations 2017-12-06 07:45:46 +00:00
html html/template: add srcset content type 2017-12-14 19:54:38 +00:00
image Revert "go/printer: forbid empty line before first comment in block" 2017-12-01 01:12:26 +00:00
index/suffixarray
internal os: don't wait for Close if the File was returned by NewFile 2017-12-14 05:54:46 +00:00
io
log
math math: remove asm version of Dim 2017-11-30 21:00:33 +00:00
mime
net net, os: don't wait for Close in blocking mode 2017-12-14 02:02:10 +00:00
os os: don't wait for Close if the File was returned by NewFile 2017-12-14 05:54:46 +00:00
path
plugin plugin: document support for macOS 2017-12-12 00:59:50 +00:00
reflect reflect: audit and explain safety of all unsafe.Pointer additions 2017-12-01 21:05:40 +00:00
regexp Revert "go/printer: forbid empty line before first comment in block" 2017-12-01 01:12:26 +00:00
runtime all: fix t.Skipf formats 2017-12-13 21:31:45 +00:00
sort
strconv
strings strings: fix two Builder bugs allowing mutation of strings, remove ReadFrom 2017-12-11 19:20:05 +00:00
sync sync: throw, not panic, for unlock of unlocked mutex 2017-12-08 13:40:21 +00:00
syscall syscall: make Seek use SetFilePointerEx on Windows, allowing large seek offsets 2017-12-07 19:32:24 +00:00
testing testing: do not crash when m.Run is called twice and -test.testlogfile is used 2017-12-14 14:57:01 +00:00
text
time time: add space padding layout strings(using underscore) for not only day but others 2017-12-13 02:42:34 +00:00
unicode Revert "go/printer: forbid empty line before first comment in block" 2017-12-01 01:12:26 +00:00
unsafe
vendor/golang_org/x vendor: update golang.org/x/net/nettest from upstream 2017-11-29 19:55:02 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash build: add alternate output format for bootstrap.bash, as used by builders 2017-11-30 17:37:23 +00:00
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc