Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[xExtension-ImageProxy] Video poster images are not proxied

Aperta Adatta ai principianti
#561 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@NopeCharon ci sta già lavorando.

Dal 27/10/2026.

  • #563 di @NopeCharon — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
74/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
php
Ambito
backend

Direzione di ricerca

Inizia nell’estensione Image Proxy e cerca dove riscrive gli attributi img, come src e srcset; esamina la gestione correlata del caricamento differito e il modo in cui FreshRSS legge l’URL originale dell’immagine. Estendi questo percorso a poster dei video, mantenendo l’URL originale in data-xextension-imageproxy-original-poster, poi controlla un articolo con un poster video e conferma che src del video rimanga invariato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Describe the bug

The Image Proxy extension rewrites the src and srcset of <img> elements, but not the poster attribute of <video> elements. FreshRSS keeps poster when it sanitises feed content, so for articles with embedded videos the browser loads the poster image straight from the original server. This bypasses the proxy, which is what users with Proxy HTTPS enabled want to avoid for privacy, and it can also cause mixed-content warnings for http:// posters on an HTTPS instance.

To Reproduce
  1. Enable the Image Proxy extension, with Proxy HTTPS checked.
  2. Display an article whose content contains <video src="https://videos.example/a.mp4" poster="https://images.example/poster.jpg"></video>.
  3. The poster is requested from images.example and not through the proxy. In the HTML source, poster (moved to data-original by the lazy-loading) still points to the original URL.
Expected behavior

Video posters should go through the proxy like other images, with the original URL kept in a data-xextension-imageproxy-original-poster attribute. That way FreshRSS still recognises the URL when deciding whether to append the entry's thumbnail or enclosures, as it already does for <img> elements. The video itself (src) should not be proxied, because image proxies cannot serve it.

FreshRSS version

edge (Image Proxy extension 1.0.2)

Lingua principale
PHP
Stelle
731
Fork
120
Merge medio
13h 7m
PR unite (30g)
22

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FreshRSS/Extensions

Tutte le issue di FreshRSS/Extensions

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.