Skip to content

WIP: Test URLs with local mentions, #1656

Alex Gleason requested to merge alexgleason/pleroma:fix-1656 into develop

So far this MR adds a test for #1656 (closed). The test properly fails. I believe the real solution needs to be implemented in Linkify, but this test can only be checked in Pleroma since it relies on the existence of a local user.

I believe the solution in Linkify is to never try parsing the mention if it starts with https?:\/\/.*?\/

We'll want this test either way since it checks the actual issue that happens in Pleroma, which overlaps with but is not exactly the same as the Linkify solution.

Edited by Alex Gleason

Merge request reports