mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 07:49:34 +02:00
Merge branch 'access' of github.com:gogits/gogs into dev
This commit is contained in:
commit
a6a2f59d1d
3 files changed
+54
-85
No files matched your search
@@ -130,7 +130,6 @@ func extractTypeFromBase64Key(key string) (string, error) {
|
||||
|
||||
// Parse any key string in openssh or ssh2 format to clean openssh string (rfc4253)
|
||||
func ParseKeyString(content string) (string, error) {
|
||||
|
||||
// Transform all legal line endings to a single "\n"
|
||||
s := strings.Replace(strings.Replace(strings.TrimSpace(content), "\r\n", "\n", -1), "\r", "\n", -1)
|
||||
|
||||
|
||||
Reference in new issue
Block a user