Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you leave your ImageField allowed extensions field empty, which is supposed allow for any file type to be selected, you will end up with the upload window searching for (*.) instead of (*.*).
Attached patch checks for empty field and if detected it will use the default file types (*.jpg; *.jpeg; *.png; *.gif).
Comment | File | Size | Author |
---|---|---|---|
image_fupload-HEAD-empty_extensions-1.patch | 1.43 KB | Deciphered |
Comments
Comment #1
Deciphered CreditAttribution: Deciphered commentedAbove patch relies on patch at: #450250: Code cleanup via coder.module
Comment #2
grandcat CreditAttribution: grandcat commentedWill be done soon, thanks.
Comment #3
grandcat CreditAttribution: grandcat commentedFixed in CVS Head.
Thank you for your help, Deciphered.