Markdown: URL is rendered incorrectly if name starts with @ #1902

Closed
opened 2025-11-02 04:17:17 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @tastytea on GitHub (Jun 8, 2018).

  • Gitea version (or commit ref): 1.4.2
  • Git version: 2.16.4
  • Operating system: Gentoo Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I want to put this link in a markdown file: [@tastytea@soc.ialis.me](https://soc.ialis.me/@tastytea).
On my instance, this link is rendered to https://schlomp.space/tastytea/tastytea@soc.ialis.me as can be seen here: https://schlomp.space/tastytea/test

On try.gitea.io the link is rendered correctly. I couldn't find an issue or a commit message between 1.4.2 and now referring to this problem.

Originally created by @tastytea on GitHub (Jun 8, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.4.2 - Git version: 2.16.4 - Operating system: Gentoo Linux - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: ## Description I want to put this link in a markdown file: `[@tastytea@soc.ialis.me](https://soc.ialis.me/@tastytea)`. On my instance, this link is rendered to https://schlomp.space/tastytea/tastytea@soc.ialis.me as can be seen here: https://schlomp.space/tastytea/test On [try.gitea.io](https://try.gitea.io/tastytea/fediverse-url/src/branch/master/README.md) the link is rendered correctly. I couldn't find an issue or a commit message between 1.4.2 and now referring to this problem.
GiteaMirror added the type/bug label 2025-11-02 04:17:17 -06:00
Author
Owner

@tastytea commented on GitHub (Jul 14, 2018):

upgrading to 1.5.0_rc1 solved this.

@tastytea commented on GitHub (Jul 14, 2018): upgrading to 1.5.0_rc1 solved this.
Author
Owner

@ghost commented on GitHub (Jul 14, 2018):

@tastytea can this issue be closed then?

@ghost commented on GitHub (Jul 14, 2018): @tastytea can this issue be closed then?
Author
Owner

@tastytea commented on GitHub (Jul 14, 2018):

That's fine by me.

@tastytea commented on GitHub (Jul 14, 2018): That's fine by me.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1902