]> Cypherpunks repositories - gostls13.git/commit
mime/multipart: parse boundary with spaces properly
authorMichael Fraenkel <michael.fraenkel@gmail.com>
Tue, 24 Jan 2017 14:40:17 +0000 (07:40 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 23 May 2017 22:56:44 +0000 (22:56 +0000)
commita28ce75daa64c70dee42b80b0e50e11b7514163a
tree437433177f7856538cd02bd2ee377119731e8bc9
parente26b51b0d587b6fe17020fa66d400492c95f43de
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>
src/mime/multipart/writer.go
src/mime/multipart/writer_test.go