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.26k stars 410 forks source link

Links shared from Offical Reddit app don't open in Infinity (supported web addresses) #1543

Closed Gangoke closed 1 year ago

Gangoke commented 1 year ago

Checklist

App version

6.2.5

Where did you get the app from

Other

Android version

13 (OneUI 5.1.1

Device model

Samsung Galaxy Fold 4

First occurred

unsure

Steps to reproduce

  1. From external app click Reddit link https://reddit.com/r/Infinity_For_Reddit/s/L9vVOkpKhN

(Links shared from offial Reddit app uses schema: https://reddit.com/r/{{SUBREDDIT}}/s/{{HASH}} )

Example post, link, markdown...

Reddit Offical app link: https://reddit.com/r/Infinity_For_Reddit/s/L9vVOkpKhN Normal Link: https://www.reddit.com/r/Infinity_For_Reddit/comments/147bhsg/the_future_of_infinity/

Expected behaviour

Link opens in Infinity app

Current behaviour

Link open is browser

Logs

No response

Notes

I have open supported links and all supported web addresses enabled Normal Reddit links open Infinity

Docile-Alligator commented 1 year ago

Don't know the pattern. Will not support the new links.

MichalisSak commented 1 year ago

That is a bummer, I hope you find a way in the future.

evanc577 commented 1 year ago

Don't know the pattern. Will not support the new links.

It's a regular URL redirect to a normal reddit link but with tracking params

$ curl -sLo /dev/null -w '%{url_effective}' https://reddit.com/r/Infinity_For_Reddit/s/L9vVOkpKhN
https://www.reddit.com/r/Infinity_For_Reddit/comments/147bhsg/the_future_of_infinity/?share_id=W2OgxIMYt2i4qeStov24G&utm_content=1&utm_medium=android_app&utm_name=androidcss&utm_source=share&utm_term=20&rdt=47111