Handle various tif extensions as the same name
What would be the simplest approach to have aem 6.5 treat the various tif extension variations (tif tiff TIF and TIFF) as the same or convert them during upload? Ideally this would occur as a file is uploaded and would trigger the Naming Conflict popup if another file has the same name but a different tif extension (ex: filename.tif and filename.TIFF would be treated the same). My initial concept is to overlay the javascript here: /libs/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js
and have it convert the extension of the various tif extensions to a single variation like .tif during the getDuplicates function. Any suggestions? Or is this the best approach?