Handle nil Content-Type in Service Desk emails
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/28865 changed attachment handling in reply-by-email and Service Desk issues and accidentally caused `Content-Type` to be a required field. If no `Content-Type` message is provided, `Mail::Message` returns `nil`, and the attachment handler would fail. We now handle this `nil` value gracefully. Closes https://gitlab.com/gitlab-org/gitlab/-/issues/331658
Showing
Please register or sign in to comment