Comment 5 for bug 220758

Revision history for this message
Tormod Volden (tormodvolden) wrote : Re: can not change attachment mime type

Diogo, I am not sure we understand each other :) I did not paste in or set those values. The original reporter of that bug did, maybe as you and Graham concluded, using the email interface. So what has this do to with "better validation for the content type field using the web ui" ? In the web interface I would get the constraint error when clicking on "Change" without having touched the value.

I am pretty sure it's impossible to insert a 2-line value using the web ui. This is probably a bug in the email interface. But bug 208185 is about having attachments added involuntary, not about the content-type value being fed with an invalid value. Of course, maybe the new fix also fixes this, but that's not clear from the comments.

I see the example in bug 208185 also has the "name=" thing added to the content type, but on one line. In the attachment I linked to, the "name=" thing was on a second line of that value. Now it isn't any longer, I guess you have changed it while investigating.