If I try to parse a POST body request with Content-Type header set as multipart/form-data; boundary====1423874274=== with the string ===1423874274=== set as a boundary, doing a net/hhtp ParseMultipartForm or trying to parse the content-type header with a mime ParseMediaType both give the "mime: invalid media parameter" error (). If I set the boundary as ---21331293-- insted, everything works as expected.
Steps to reproduce: Make a simple POST call to a standard running http.Server and set the Content-Type header as something like multipart/form-data; boundary====148234432947===. Even using multipart/form-data; boundary=-==148234432947=== triggered the error Is it a bug in go parsing methods, or is using equals at the start of the boundary string effectively illegal and everything is working as intended? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.