I added a file component so that users can upload an image. I checked all the check boxes under web images, but the jpeg extension is not accepted (message: The specified file mypicture.jpeg could not be uploaded. Only files with the following extensions are allowed: gif jpg png.). I would expect that jpg also accepts jpeg.

This is a bit on the edge of being a bug or feature request, but as there is an old issue that solved it in 5.x (#278555: Files with the 'jpeg' extension are not allowed), I file it here as a regression thus as a bug.

CommentFileSizeAuthor
#2 webform-jpeg_vs_jpg-2468117-2.patch959 bytesDanChadwick
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fietserwin’s picture

Title: jpeg extension not allowed by default for iamge upload » jpeg extension not allowed by default for image upload when jpg is checked
DanChadwick’s picture

Version: 7.x-3.22 » 7.x-4.x-dev
Category: Bug report » Feature request
Status: Active » Fixed
FileSize
959 bytes

Yeah, I'm going to call this a feature request, although I see your point. Still, I don't think you can have a regression from D5. :) Format jpeg will now be accepted anytime jpg is accepted.

Committed to 7.x-4.x and 8.x.

7.x-3.x receives critical fixes (plus the branch maintainer's whim) only.

  • DanChadwick committed f443a01 on 8.x-4.x
    Issue #2468117 by DanChadwick: jpeg extension not automatically accepted...
fietserwin’s picture

Thanks. I think it is about time that I switch to 4.x.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.