🐛 Bug Report: preview.redd.it links lead to /r/funny post instead of image
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start by tracing how Redlib handles incoming Reddit media links and redirects, using the issue’s preview.redd.it URL as a reproduction case. Compare that path with the embedded preview handling mentioned for PRs #80 and #92. Done means clicking the linked image from old.reddit.com opens the image instead of the unrelated /r/funny post.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
preview.redd.it links that aren't embedded, but clickable, don't lead to the image, but rather the same old /r/funny reddit post.
Steps to reproduce the bug
Steps to reproduce the behavior:
- Open this post in old.reddit.com:
https://old.reddit.com/r/wacom/comments/1tbsl5n/this_isnt_ideal/ - Click on the preview.redd.it link in the comment, which is this:
https://preview.redd.it/4yaj3tis7v0h1.jpeg?width=1936&format=pjpg&auto=webp&s=0ad2e458a311aa27d496f06758feefc8cd865edf - That redirects to a URL like:
https://www.reddit.com/media?solution=13a347276614d3af13a347276614d3af&js_challenge=1&token=bbbe4bf1c9a2b5160829c4be34da5861c65ccad4cdea9db78b59f14f3fe11e41&jsc_orig_r=&url=https%3A%2F%2Fpreview.redd.it%2F4yaj3tis7v0h1.jpeg%3Fwidth%3D1936%26format%3Dpjpg%26auto%3Dwebp%26s%3D0ad2e458a311aa27d496f06758feefc8cd865edf - Instead of opening the image, as it does with reddit, redlib opens this same post every time:
https://www.reddit.com/r/funny/comments/media/removed_by_moderator/ - Ideally, the link would redirect to the image.
Additional context / screenshot
I notice some work was done for PR #80 and #92 to deal with embedded previews. This may be similar, except the images aren't embedded, they're just links.
I initially didn't realize this is only an issue when opening links from old.reddit.com that open in redlib. Viewing the post in redlib itself, the previews are embedded properly. So this may be beyond the scope of redlib, honestly. But maybe others also use old.reddit.com for posting, and have run across this same issue, clicking on the preview links and having them redirected to redlib.
- I checked that the instance that this was reported on is running the latest git commit, or I can reproduce it locally on the latest git commit
- Lingua principale
- Rust
- Stelle
- 3.9k
- Fork
- 293
- Merge medio
- 14g 8h
- PR unite (30g)
- 2
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di redlib-org/redlib
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
redlib-org/redlib#604 · 4 reazioni ·
I maintainer di solito rispondono entro 3 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
redlib-org/redlib#571 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 61/100
redlib-org/redlib#557 ·
I maintainer di solito rispondono entro 3 giorni
-
🐛 Bug Report: Failed to parse page JSON data: expected value at line 1 column 1 | /r/LivestreamFail/comments/1xd628q/hila_klein_says_ethan_klein_has_been_having_an/.json?Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
redlib-org/redlib#602 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
bug
Difficoltà 4/5 1-2 giorni Idoneità per principianti 52/100
redlib-org/redlib#600 · 7 commenti · 7 reazioni ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di redlib-org/redlib
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
plrigaux/sysd-manager#85 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
dsx-ai-factory/infra-controller#8341 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement triage:deciding
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
open-telemetry/otel-arrow#4540 ·
I maintainer di solito rispondono entro 2 giorni
-
benchmark: CSV report files contain blank records on WindowsForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertacomponent:benchmark
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
agentic-os-org/ANOLISA#9177 ·
I maintainer di solito rispondono entro 1 giorno
-
area/mcp area/modeling effort/s impact/few priority/p3 severity/low triaged type/bug urgency/this-quarter
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
cristim/AztecCraft#336 ·
I maintainer di solito rispondono entro 1 giorno