Error 500 in Release section if commit message contains ')' character #741

Closed
opened 2025-11-02 03:34:49 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @mirhec on GitHub (May 24, 2017).

Description

I receive an erropr 500 if I head over to the release section of some repositories. To reproduce:

  • Create a new repo
  • Commit something and let the commit message contain a ')' character in the first line
  • Create a tag for this commit (i.e. a new gitea release)
  • Jump over to the release section -> you receive the error 500

This issue exists since the fix for #1664 (Pull request #1670)

Originally created by @mirhec on GitHub (May 24, 2017). - Gitea version (or commit ref): ff2464c - Git version: the one on try.gitea.io - Operating system: Raspbian - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (provide example URL): https://try.gitea.io/mirhec/test/releases - [ ] No - [ ] Not relevant - Log gist: https://gist.github.com/mirhec/3f3ad2eb36ebb9d355e2b2d306bf6469 ## Description I receive an erropr 500 if I head over to the release section of some repositories. To reproduce: * Create a new repo * Commit something and let the commit message contain a ')' character in the first line * Create a tag for this commit (i.e. a new gitea release) * Jump over to the release section -> you receive the error 500 This issue exists since the fix for #1664 (Pull request #1670)
Author
Owner

@lunny commented on GitHub (May 24, 2017):

@appleboy maybe you could take a look.

@lunny commented on GitHub (May 24, 2017): @appleboy maybe you could take a look.
Author
Owner

@lafriks commented on GitHub (Jul 12, 2017):

Seems to be working fine on latest master. @mirhec can you confirm that?

@lafriks commented on GitHub (Jul 12, 2017): Seems to be working fine on latest master. @mirhec can you confirm that?
Author
Owner

@mirhec commented on GitHub (Jul 14, 2017):

Yes, seems to be fixed, I will close it.

@mirhec commented on GitHub (Jul 14, 2017): Yes, seems to be fixed, I will close it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#741