-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Capitalization discarded on push-to-create #29073
Comments
My guess is it's specific to SSH: Lines 219 to 228 in 5c0fc90
|
Yup, I use SSH authentication for this |
@RGBCube is it the opensshd ssh implementation or the built-in to the binary ssh server you are using? The issue would likely apply to both, but just in case it doesn't this will help debug/fix. Thanks for the report :) |
Line 227 and line 228, they should not be lowercase. |
I'm using sshd at the moment (don't have the BUILTIN_SSH_SERVER option enabled) |
The code affected both opensshd and builtin ssh server. |
Fix #29073 Backport #29090 Co-authored-by: KN4CK3R <[email protected]>
Fix go-gitea#29073 (cherry picked from commit 96ad1d6)
Automatically locked because of our CONTRIBUTING guidelines |
Description
I have enabled
repository.ENABLE_PUSH_CREATE_USER
and created a repo after pushing, my remotes are:But the repo created on my instance is named
testtwo
. Somewhere Gitea is lowercasing the repo name for case insensitiveness which is nice, but I'd like it to be preserved when push-to-create-ing for the first time.Gitea Version
1.21.5
Can you reproduce the bug on the Gitea demo site?
Yes
Screenshots
How are you running Gitea?
NixOS module, irrelevant.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: