This updates the extensionIsValid function to return true for image urls that include periods in query strings or hashes that are appended to the url. For instance, Instagram image urls include periods in the query strings and so the extensionIsValidfunction returns false for these image urls.
Example image url formats that currently don't work:
This updates the
extensionIsValid
function to return true for image urls that include periods in query strings or hashes that are appended to the url. For instance, Instagram image urls include periods in the query strings and so theextensionIsValid
function returns false for these image urls.Example image url formats that currently don't work: