Automattic / Automattic/jetpack

Jetpack Search: Indexed images should not be preprocessed by photon

Open
#19,014 0 comments 0 reactions 0 assignees View on GitHub
[Feature] Search [Plugin] Jetpack [Plugin] Search [Pri] Low Enhancement Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Discovered while testing #18990.

#### Steps to reproduce the issue
For site ID 160291064, searching for `gallery` returns a search result with an `fields.image.url.raw` array all pointing to `i[0,1,2].wp.com`.

#### What I expected
These image URLs should be pointing directly to the images on the site host, not our CDN. We process direct URLs through photon if the site owner has Site Acceleration enabled.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.