diff options
author | silverwind <me@silverwind.io> | 2019-07-23 15:25:06 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-07-23 16:25:06 +0300 |
commit | b10109ffe895d05c169b6a2143ec9e7967e68f75 (patch) | |
tree | 26c1fb1274415729b06a4b29957af5a3e241a13f /options/locale | |
parent | bcbc9f33d73393c47b27793ac91b8f9faf98d349 (diff) | |
download | gitea-b10109ffe895d05c169b6a2143ec9e7967e68f75.tar.gz gitea-b10109ffe895d05c169b6a2143ec9e7967e68f75.zip |
Improve SSH key parser to handle newlines in keys (#7522)
* Strip newlines from SSH keys before adding them
Fixes: https://github.com/go-gitea/gitea/issues/7500
* add test for CheckPublicKeyString
* add one more test
* simplify test
* further simplify
* make fmt
Diffstat (limited to 'options/locale')
0 files changed, 0 insertions, 0 deletions