- Issue created by @adinancenci
If a file has an uppercase extension ( e.g. : cat-picture.JPG ) the module will not generate a fallback because it fails to match the Drupal\wpf\ImageFactoryInterface::JPG_PATTERN
regex.
1. Upload an image with an uppercase extension.
2. Try to open the fallback.
Expected behavior: display the jpg fallback.
Actual behavior: not found error.
Simply need to add an /i
option to the regex pattern.
Active
1.2
Code