Attempting to open the image on a removed post opens "http://" in browser

Aperta
#1,401 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, java
Ambito
mobile-dev

Direzione di ricerca

The payload names no files, so begin by reproducing the bug on an Android build: tap the header of an image post that a moderator has removed and note the malformed http:// URL that opens. Then search the codebase for where a post header's click target is resolved for image posts and where removed posts are handled. Done when tapping a removed image post either shows an error message or does nothing, and no browser tab opens.

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

Descrizione

Version 1.27 Android (F-Droid)

Tapping the header of an image post that has been removed by a moderator opens a browser tab for http:// (which usually just searches for that in the default search engine). Happens for both external browser and integrated browser.

I wasn't able to test whether that happens with link posts, video posts or multiple-image gallery posts. I wasn't able to test whether that happens on posts removed by the user or reddit admins.

Suggested "correct" behavior would be to either show the user an error message pop-up or to do nothing at all.

Lingua principale
Java
Stelle
2.7k
Fork
532
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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 QuantumBadger/RedReader

Tutte le issue di QuantumBadger/RedReader

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.