Bug #29874 - Image extension strict whitelist handling is inconsistent