lo-cafe / winston

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

[BUG] Winston doesn't seem to support links to usernames with special characters #509

Open iiTzRichie opened 4 months ago

iiTzRichie commented 4 months ago

Describe the bug I've come to notice Winston doesn't support links to usernames with special characters. Using my Reddit username for example (u/R96-), when I search R96- my profile comes up, however clicking on a link to my profile (Reddit.com/u/R96-) in a comment or a post brings it to the profile of u/R96 instead of mine (u/R96-), which means Winston isn't recognizing the dash (-) in my username. I've noticed this with other usernames with special characters as well with a dash (-) or an underscore (_) (or multiple dashes and underscores).

To Reproduce

  1. Visit this post in Winston: https://www.reddit.com/r/R96/comments/15ds9y2/rr96/
  2. Tap on the linked Reddit username (u/R96-)
  3. Winston doesn't recognize the special character in the username (-) and redirects to the Reddit profile of u/R96 instead of u/R96-

Expected behavior Should open the Reddit profile of u/R96-

Winston:

Device):

linear[bot] commented 4 months ago

WIN-157 [BUG] Winston doesn't seem to support links to usernames with special characters