go/src/mime
Michael Fraenkel a28ce75daa mime/multipart: parse boundary with spaces properly
- spaces are allowed anywhere but the last character of a boundary

Fixes #18768

Change-Id: I36b054462533ff6dfc060e37e7a58777ae4b66fe
Reviewed-on: https://go-review.googlesource.com/35507
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-05-23 22:56:44 +00:00
..
multipart mime/multipart: parse boundary with spaces properly 2017-05-23 22:56:44 +00:00
quotedprintable mime/quotedprintable: accept = not followed by 2 hex digits as literal equals 2016-10-28 16:08:06 +00:00
testdata
encodedword.go mime: re-accept empty encoded-text 2017-04-29 04:14:36 +00:00
encodedword_test.go mime: re-accept empty encoded-text 2017-04-29 04:14:36 +00:00
example_test.go mime: move examples to external test file 2015-08-22 18:39:29 +00:00
grammar.go all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
mediatype.go mime: handling invalid mime media parameters 2017-03-17 13:59:31 +00:00
mediatype_test.go mime: handling invalid mime media parameters 2017-03-17 13:59:31 +00:00
type.go mime: use sync.Map instead of RWMutex for type lookups 2017-04-28 20:49:29 +00:00
type_dragonfly.go
type_freebsd.go
type_openbsd.go
type_plan9.go mime: fix mime type file name on Plan 9 2016-05-15 19:56:08 +00:00
type_test.go mime: add benchmarks for TypeByExtension and ExtensionsByType 2017-02-14 23:02:07 +00:00
type_unix.go
type_windows.go