From d446be9f5f1e4584c329dc418a9699960cb431e1 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 28 Feb 2015 22:24:53 -0500 Subject: models: mirror fix on #964 --- models/publickey.go | 1 - 1 file changed, 1 deletion(-) (limited to 'models/publickey.go') diff --git a/models/publickey.go b/models/publickey.go index 383b85b634..6bec1139b8 100644 --- a/models/publickey.go +++ b/models/publickey.go @@ -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) -- cgit v1.2.3