socketry / multipart-post

Adds multipart POST capability to net/http
MIT License
293 stars 72 forks source link

Remove trailing line return #49

Closed mcolyer closed 7 years ago

mcolyer commented 7 years ago

While the epilogue should be ignored (see https://tools.ietf.org/html/rfc2046), it is validated by ModSecurity which some sites have enabled.

See #40.

/cc @ioquatix

ioquatix commented 7 years ago

Thanks for this. So the epilogue is marked by trailing -- as in --marker--\r\n? and then in theory, everything after that should be ignored. But, in some strict scenarios, it's not?

mcolyer commented 7 years ago

Thanks for this. So the epilogue is marked by trailing -- as in --marker--\r\n? and then in theory, everything after that should be ignored. But, in some strict scenarios, it's not?

Yep, that's my understanding.