lo-cafe / winston

A beautiful and native Reddit client for iOS
https://winston.cafe/
GNU General Public License v3.0
680 stars 52 forks source link

[Bug] Reddit in-app links don’t open in winston correctly #436

Open winnybot opened 5 months ago

winnybot commented 5 months ago

Describe the bug when clicking on a link in a comment that links to another post it will only open up the subreddit of the post, not the post itself

To Reproduce Steps to reproduce the behavior:

  1. Find a comment with a Reddit post link in it
  2. Click the link
  3. See that it opens the parent subreddit rather than the post

Expected behavior clicking on links to posts will take you directly to the post and not to the parent subreddit

Device (please complete the following information):


Posted by jrrh

ojsef39 commented 5 months ago

Additional context:

Links like this: https://www.reddit.com/r/CampingGear/s/wajmSMtX4R

winston only detects the /r/ part but not /s/ winston expects links like this: https://www.reddit.com/r/CampingGear/comments/1aenwsk/thick_wool_hoodies_of_thirdgen_free_scarfs_for/