Zoxcore / Antidote

Reboot of the Tox Messenger for the IPhone
Mozilla Public License 2.0
18 stars 5 forks source link

Incorrect linkifying some urls #148

Open dennisnez opened 1 year ago

dennisnez commented 1 year ago

This url isn't properly linkified, it stops the linkifying before a seemingly arbitrary hyphen, ends at ...12bdef ?

https://substackcdn.com/image/fetch/w_1456 https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F1912bdef-0c32-4d37-b6db-2d5933617326_850x472.png

Appears as: https://imgur.com/a/JWUR3m8

Antidote 1.4.24

zoff99 commented 1 year ago

5Ltk2ri

zoff99 commented 1 year ago

@dennisnez the link detection is part of iOS. does that link get properly linkified in any other app on the same phone? like singal messenger? are you sure the link is properly urlencoded?

zoff99 commented 1 year ago

oh it looks like an iOS bug.

https://aa.com/mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx666666666666

image

https://aa.com/mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx66666666666

image

if the url is longer than 200 letters it fails.