Fix parsing mentions with dotted usernames #141

Open
lambadalambda wants to merge 1 commit from fix/dotted-mention-usernames into master

Summary

  • allow period-separated segments in mention usernames
  • parse mentions before URLs so dotted federated handles are not partially linkified as URLs
  • add regression coverage and changelog entry

Fixes pleroma/pleroma-fe#3554.

Testing

  • mix test (4 doctests, 91 tests, 0 failures)
  • mix format --check-formatted
  • mix credo --strict
## Summary - allow period-separated segments in mention usernames - parse mentions before URLs so dotted federated handles are not partially linkified as URLs - add regression coverage and changelog entry Fixes pleroma/pleroma-fe#3554. ## Testing - `mix test` (4 doctests, 91 tests, 0 failures) - `mix format --check-formatted` - `mix credo --strict`
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/dotted-mention-usernames:fix/dotted-mention-usernames
git switch fix/dotted-mention-usernames

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff fix/dotted-mention-usernames
git switch fix/dotted-mention-usernames
git rebase master
git switch master
git merge --ff-only fix/dotted-mention-usernames
git switch fix/dotted-mention-usernames
git rebase master
git switch master
git merge --no-ff fix/dotted-mention-usernames
git switch master
git merge --squash fix/dotted-mention-usernames
git switch master
git merge --ff-only fix/dotted-mention-usernames
git switch master
git merge fix/dotted-mention-usernames
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma-elixir-libraries/linkify!141
No description provided.