Automattic / Automattic/jetpack
Photon: Limit to originating domain
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
For popular posts, scrapers will often pick up the entire post, including referencing the original `img` tags. For Photon-enabled sites, this means the scrapers are effectively hotlinking from Photon.
Suggested: Disallow requests from non-originating domains or make an option to do so.
Originally requested in WP Core Slack via private message.
Contributor guide
Research direction
Start by locating the Photon request-handling entry point and trace how requests from domains other than the originating site are identified. Reproduce the scraper hotlinking scenario and define whether completion means blocking those requests or providing a configuration option; no specific files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100