I had a very confusing situation today with a multipart form that was for uploading a picture to a new web service I’m working on.
In Safari the form upload worked. Even in Internet Explorer 6 the form upload worked (after I fixed the dodgy MIME-type that IE passes through for JPG images - image/pjpeg for those interested).
My submit tag orginally looked like this (Ruby on Rails)
I was very confused as it did work in those other browsers, but not in Firefox.
What I find particularly confusing about this is that everything I read on the “return false;” statement leads me to believe that this form should not be submitted - however - return true does not work (500 Internal Server Error returned). But what the hey - it works.