urlize: "@a@b" isn't a valid e-mail, don't mailto:ise it #1870
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This chases https://lists.sr.ht/~sircmpwn/sr.ht-dev/%3Clelaromu5mjgibe6jywrc2iwoikon2piwo2h34rcsyjhbyge5y%40fdtowru7pv5e%3E and thus https://101010.pl/@[email protected]/110742090990556162
It's a common way to spell both "a user of some site" but also universal in the mastodon world. None of these are valid e-mail addresses (especially since urlize makes
@[email protected]
into<a href="mailto:@[email protected]">@[email protected]</a>
which straight-up just isn't really a valid e-mail address anyway).Checklist:
@a@b
isn't really a valid email anyway and it was erroneously acceptedCHANGES.rst
summarizing the change and linking to the issue... versionchanged::
entries in any relevant code docs. – Likewisepre-commit
hooks and fix any issues.pytest
andtox
, no tests failed.