diff options
author | Najeeb R <mohamme89d@gmail.com> | 2016-12-22 03:35:48 +0300 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2016-12-21 19:35:48 -0500 |
commit | e5972bbcdea957dc9baf5ed55b0f094d9f30142e (patch) | |
tree | 4065415c79e771a6f5e742836559960301103213 /cmd | |
parent | 952e510dfa6f4d20842bf2216286710f0b1a233c (diff) |
#3480 Fix new ssh key adding issues (#3565)
* #3480 Fix new ssh key adding issues
Added regular exp match (108) and remove training new line (111) that cause system to think its an ssh2 key.
* #3480 Fix new ssh key adding issues
-Sanitizate new lines (windows format) in posted key
-Edit sanitization implementation to use string replace for code readability and maintenability.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions