You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to create tag with name that isn't allowed due to tag protection, I'm receiving 500 status code. I think it should be something like 401 (Unauthorized) or 400 (Bad request).
I've set up a step in my Gitea Action to create new release in my repository.
Honestly, when I saw "Internal Server Error" in my step logs I thought that something is wrong with my server.
But it was only poorly written regular expression.
Backport #30962 by @KN4CK3RFixes#30959
Adds an API test for protected tags.
Fix existing tag in combination with fixtures.
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
go-gitea
locked as resolved and limited conversation to collaborators
Aug 12, 2024
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
When I try to create tag with name that isn't allowed due to tag protection, I'm receiving 500 status code. I think it should be something like 401 (Unauthorized) or 400 (Bad request).
I've set up a step in my Gitea Action to create new release in my repository.
Honestly, when I saw "Internal Server Error" in my step logs I thought that something is wrong with my server.
But it was only poorly written regular expression.
Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
https://gist.github.com/sadorowo/2f212589fe30816f7d1d882d06fbdbda
Screenshots
Not related to web interface, but I've made request from Developer Tools
Git Version
2.40.1, Wire Protocol Version 2 Enabled
Operating System
Ubuntu 22.04.4 LTS x86_64
How are you running Gitea?
I'm using Docker Compose version of Gitea.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: