Long pressing a malformed link crashes the app
Long pressing a malformed link crashes the app
Long-pressing the link in [https://lemmy.ml/comment/7302466](this comment) will cause Boost to crash.
The link markdown is wrong, with the URL in the text tag and the destination tag empty, but this shouldn't crash the app.
Alternate test link in case the commenter fixes it: https://www.example.com
Thanks for the link, I'll fix that
5 0 ReplyThe first did not crash the app for me but the second one did.
2 1 ReplyThe first is a link to someone else's comment that contains the broken link. Does the link there cause a crash? It still does on my end.
2 1 ReplyI think it's the link in that other comment, not the link to the comment itself
Both that link and the second sample one crash the app for me
1 0 Reply
So the
[url]()
syntax is the problem. I would say that's illegal markdown.2 1 ReplyYes, but Boost should show an error toast when it encounters problems like this instead of crashing. Tapping the broken link already does show a toast.
5 1 Reply