1234- / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
1 stars 0 forks source link

Wrong formated SSH Key results in Internal Server Error #563

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Login as user
2. Copy & Paste SSH Key so that you end up with your SSH Key chopped up over 
multiple lines
3. Add the key

What is the expected output? What do you see instead?
I would either expect to have all lines joined or to see an error on the 
formating. Instead the user ends up with a broken profil that he can't fix, 
only way to solve this is to fix the key on file level.

What version of the product are you using? On what operating system?
1.6.2 WAR with Tomcat on RHEL 7

Original issue reported on code.google.com by henning....@gmail.com on 12 Feb 2015 at 8:21

GoogleCodeExporter commented 9 years ago
Are line breaks the only difference?  i.e. if I/you stripped the line breaks it 
would validate?

Original comment by James.Mo...@gmail.com on 18 Feb 2015 at 4:49

GoogleCodeExporter commented 9 years ago
Merging into issue-571.

Original comment by James.Mo...@gmail.com on 7 Mar 2015 at 2:14