Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Issue Identifier With Trailing Comma Doesn't Get Linked #32428

Open
friedrichsenm opened this issue Nov 5, 2024 · 0 comments · May be fixed by #32945
Open

External Issue Identifier With Trailing Comma Doesn't Get Linked #32428

friedrichsenm opened this issue Nov 5, 2024 · 0 comments · May be fixed by #32945
Labels

Comments

@friedrichsenm
Copy link

friedrichsenm commented Nov 5, 2024

Description

If you have a repo configured to use an external issue tracker and use the alphanumeric issue identifier, then valid issues with a trailing comma won't get dynamically linked in a PR title. For example:
TAG-1234 <PR title text> works
TAG-1234: <PR title text> works
TAG-1234, <PR title text> does NOT work

Gitea Version

1.22.0

Can you reproduce the bug on the Gitea demo site?

Yes

Example PR with working issue link:
https://gitea.com/friedrichsenm/test_issue_linking/pulls/1

Example PR with missing issue link:
https://gitea.com/friedrichsenm/test_issue_linking/pulls/2

Log Gist

No response

Screenshots

Can't reproduce in demo right now since the site is down

Git Version

No response

Operating System

Ubuntu

How are you running Gitea?

rootless docker image

Database

PostgreSQL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant