E-Mail address detection should validate domain name part #3242

Closed
opened 2025-11-02 05:05:14 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @silverwind on GitHub (Apr 24, 2019).

String cra@3 is detected as a E-Mail address and rendered with a mailto: link. I think we should validate if the part after the @ is a valid domain name and only linkify if it is the case.

image

Originally created by @silverwind on GitHub (Apr 24, 2019). String `cra@3` is detected as a E-Mail address and rendered with a `mailto:` link. I think we should validate if the part after the `@` is a valid domain name and only linkify if it is the case. ![image](https://user-images.githubusercontent.com/115237/56654546-a4570180-6690-11e9-9a02-8e6bb2e6dfac.png)
GiteaMirror added the type/bug label 2025-11-02 05:05:14 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3242