1
0
mirror of https://github.com/golang/go synced 2024-11-18 03:14:44 -07:00
go/src/mime
Hiroshi Ioka 5de5dd8d25 mime: fix panic parsing 'encoded-word'
https://go-review.googlesource.com/37812 says fix panic parsing.
Actually, it doesn't. so fix it.

Fixes #19416

Change-Id: Ie0c4241f10e5ebcbac20e184c2a7b13b22632eab
Reviewed-on: https://go-review.googlesource.com/37912
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-04-09 19:03:00 +00:00
..
multipart mime/multipart: add Size to FileHeader 2017-04-01 10:04:56 +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_test.go mime: fix panic parsing 'encoded-word' 2017-04-09 19:03:00 +00:00
encodedword.go mime: fix panic parsing 'encoded-word' 2017-04-09 19:03:00 +00:00
example_test.go
grammar.go all: replace strings.Index with strings.Contains where possible 2016-02-19 01:06:05 +00:00
mediatype_test.go mime: handling invalid mime media parameters 2017-03-17 13:59:31 +00:00
mediatype.go mime: handling invalid mime media parameters 2017-03-17 13:59:31 +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
type.go