Memmy-App / memmy

An Apollo inspired open-source iOS and Android client for Lemmy built with React-Native. Find us on the App Store and Google Play!
GNU Affero General Public License v3.0
547 stars 58 forks source link

[Bug]: url encoded links sometimes not resolving properly #1012

Closed Dhammiko closed 10 months ago

Dhammiko commented 11 months ago

Check for open issues

Minimal reproducible example

https://derp.foo/post/257727 example post containing encoded url, instead of decoding the url memmy is dropping everything after the first % so the target link ends up 404'ing

Expected Behavior

urls should be run through a decoder function before attempting to be followed

https://www.w3schools.com/tags/ref_urlencode.ASP

Version

0.5.1 (1)

App Store or TestFlight?

App Store

iOS Version

16.x

Device

iphone 7 :)

gkasdorf commented 10 months ago

Going to be reworking the whole system.