Don't allow user to supply content of type message/*
Instead we rewrite the MIME type to application/octet-stream. This is so we don't create broken messages in case the user-supplied content is not a valid message. In the future we could add some validation code and allow the user to attach well-formed messages using the proper MIME type.
Loading
Please register or sign in to comment