Skip to content

Search: SVG images being served using Photon URL despite being unsupported and displaying as broken links #19925

@eoinsav

Description

@eoinsav

Steps to reproduce the issue

  1. Add a new page and put an SVG image as the first image
  2. Publish page
  3. Navigate to Jetpack Search and search for this new page
  4. See SVG image is being displayed as a broken link

Example: https://eoinbusinesstestsite.com/?s=svg

What I expected

The SVG image should not be displayed using a Photon URL since Photon does not support SVG images

What happened instead

The SVG image is being served through Photon, which is not supported and therefore displays a broken link

Screenshots

Screenshot on 2021-05-24 at 09-54-33

Markup 2021-05-24 at 09 54 11

Metadata

Metadata

Assignees

Labels

BugWhen a feature is broken and / or not performing as intended[Feature] SearchFor all things related to Search[Pri] Normal

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions