When you select Attach a file while reporting a new bug the file is unconditionally uploaded as text/plain ad there is no way to pick the attachment type.
*** Bug 55360 has been marked as a duplicate of this bug. ***
Most likely the cause of this is bug 53957
This should be resolved now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.