I'm using filefield with APC progress bar and mime type detection. When I try to upload a file which is not allowed to be uploaded all Browsers show me the message that the file type is not allowed. But in Opera 10.6 the file starts uploading. The other browser show the progress bar for some seconds and remove it, but Opera doesn't.

Comments

quicksketch’s picture

What is the exact error that you receive? Are you actually running the latest 3.x development version or is this a stable release?

Wolfgang Reszel’s picture

It is the latest DEV form Aug, 9. and there is no error. I see the message that I can't upload files of this type but the progress bar is visible and raising.

quicksketch’s picture

It is the latest DEV form Aug, 9. and there is no error. I see the message that I can't upload files of this type

So there is or there isn't an error here?

There are shouldn't be any differences between 6.x-dev and 3.7 that would have any effect on this problem.

Wolfgang Reszel’s picture

It's a general problem. Opera shouldn't be able to upload any file type. FileField should block uploading like in other browsers.

fuzzy76’s picture

Could this be because of the accept attribute on inputfields of type file, which the HTML5 spec states should contain mimetypes and not file extensions?

fuzzy76’s picture

quicksketch’s picture

Sorry everyone, I shouldn't have pointed to this issue. Let's use fuzzy76's issue over in #939102: Accept attribute contains extensions instead of mimetypes (preventing Chrome from selecting files).

quicksketch’s picture

Status: Active » Closed (duplicate)