Fix image optimization invalid internal upstream image (#34899)
This gracefully handles errors when the `url` query string param looks like an internal image because it starts with `/` but it is not pointing to an internal image.
Previously, this was printing an unnecessary stack trace when the upstream content-type was undefined.
Co-authored-by:
JJ Kasper <22380829+ijjk@users.noreply.github.com>
Showing
Please
register
or
sign in
to comment