Docile-Alligator / Infinity-For-Reddit

A Reddit client for Android
https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforreddit
GNU Affero General Public License v3.0
4.02k stars 404 forks source link

reddit.com/media links handled incorrectly #1636

Closed starchyunderscore closed 1 month ago

starchyunderscore commented 2 months ago

Checklist

App version

7.0.0

Where did you get the app from

Other

Android version

13

Device model

Moto G Stylust 5g 2022

First occurred

first noticed 2 weeks ago

Steps to reproduce

  1. click a reddit.com/media link
  2. be redirected to this post instead of the correct media

Example post, link, markdown...

this comment: https://www.reddit.com/r/HFY/comments/18ljist/dungeon_life_179/kdylz6q/

should link to this: https://www.reddit.com/media?url=https%3A%2F%2Fpreview.redd.it%2F9iamzovpcrta1.png%3Fwidth%3D720%26auto%3Dwebp%26s%3Da6d1287094fc6ad986e1245a5fc3869b2f0c7da4

Screenshot_20240415-220951

but instead links to this: https://www.reddit.com/r/funny/comments/media/nice_hat/

Screenshot_20240415-221051

Expected behaviour

reddit.com/media links show intended media

Current behaviour

reddit.com/media links redirect to this post: https://www.reddit.com/r/funny/comments/media/nice_hat/

Logs

No response

Docile-Alligator commented 1 month ago

Is this only for image or is video also possible?

starchyunderscore commented 1 month ago

if you're asking for a video of the bug: https://github.com/Docile-Alligator/Infinity-For-Reddit/assets/102399926/6ae052ec-cc3a-4787-ae40-cfefbf813781

if you're asking for an example of a video reddit.com/media link: i don't know. i've only ever seen ones for images and i don't know how to make them