mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 00:38:36 +00:00
add .gpg url (match github behaviour) (#6610)
* add .gpg url (match github behaviour) * wildcard * test to export maximum data * working POC * add comment for old imported keys * cleaning * Update routers/user/profile.go Co-Authored-By: sapk <sapk@users.noreply.github.com> * add migration script * add integration tests
This commit is contained in:
committed by
techknowlogick
parent
38889f09cb
commit
d699de32f2
@@ -747,7 +747,7 @@ var (
|
||||
".",
|
||||
"..",
|
||||
}
|
||||
reservedUserPatterns = []string{"*.keys"}
|
||||
reservedUserPatterns = []string{"*.keys", "*.gpg"}
|
||||
)
|
||||
|
||||
// isUsableName checks if name is reserved or pattern of name is not allowed
|
||||
|
Reference in New Issue
Block a user