Change urls to lowercase before checking them for certain extensions.