HomeWrite.as

Fix image extraction for URLs with query strings

Description

Fix image extraction for URLs with query strings

Previously, image extraction wouldn't catch images with a query string
(or anything else) appended. This fixes that by parsing extracted URLs
and only checking the path for what looks like an image file.

Details

Provenance
mattAuthored on Feb 19 2020, 10:07 PM
Parents
rWF34d196376ead: Include extracted images in draft social metadata
Branches
Unknown
Tags
Unknown
References
refs/pull/266/head