mastodon-ios icon indicating copy to clipboard operation
mastodon-ios copied to clipboard

Some post content break the parser and may raise crash

Open MainasuK opened this issue 2 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

App display some post always raise crash.

Expected Behavior

The app normally display the posts.

Steps To Reproduce

Try to skim some posts content this:

<p><span class="h-card"><a href="https://erased.erased/@erased" class="u-url mention"
            rel="nofollow noopener noreferrer" target="_blank">@<span>erased</span></a></span> <span
        class="h-card"><a href="https://erased.erased.erased/erased/erased" class="u-url mention"
            rel="nofollow noopener noreferrer" target="_blank">@<span>erased</span></a></span> <br>erased <a
        href="https://erased.erased.erased/erased-erased-erased🤔"
        rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span
            class="ellipsis">erased.erased/erased-era</span><span
            class="invisible">erased-erased-erased-erased-erased🤔</span></a></p>

Environment

- Device: iPhone 13 Pro Max
- OS: iOS 15.3
- Version: 1.4.0
- Build: 118

Anything else?

No response

MainasuK avatar Apr 29 '22 10:04 MainasuK