Thread:Project:Support desk/External Images

Is there a way to allow external images that don't end in image extension (.png, .jpg, etc.)? Specifically, this one ends in .ashx but returns an image, and I want to allow it to be linked normally. I'm using MediaWiki:External image whitelist.