Need inputs on preferred approach to fix Capital JPEG issue via Dispatcher in AMS
Hi All,
We are facing an issue, where the images from DAM are giving 404 NOT FOUND error when accessed via Dispatcher (We are using AMS in our Project).
We debugged and found that the issue is appearing as we have name of images as "abc.JPG" instead of "abc.jpg" in AEM. These images are being sent via Magento, thats the reason it has Largecase chars in the file extension (e.g. JPG).
Approach 1:
We tried to make modification in "ams_publish_filters.any" file to allow an additional extension "JPG" in the "/content", but in AMS its being immutable file we are not able to modify it. Could any one suggest, how this can be overlayed and additional extension can be added in filter.any file.
Approach 2:
Also, I could think of an additional approach, where we modify DAM Update Asset workflow to smallcase the extension (e.g. jpg) upon upload of asset.
Could anyone please suggest, which should be the preferred approach for this.
Thanks..
Regards,
Aman