Page MenuHomePhabricator

Fix validation of SSH keys with spaces in the comment field
ClosedPublic

Authored by epriestley on Jun 23 2014, 10:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 12, 11:16 AM
Unknown Object (File)
Thu, Dec 12, 11:16 AM
Unknown Object (File)
Thu, Dec 12, 11:10 AM
Unknown Object (File)
Thu, Dec 12, 11:02 AM
Unknown Object (File)
Sun, Dec 8, 7:56 PM
Unknown Object (File)
Wed, Dec 4, 1:38 PM
Unknown Object (File)
Wed, Nov 27, 9:37 PM
Unknown Object (File)
Sat, Nov 23, 12:44 AM
Subscribers

Details

Summary

Fixes T5449. Keys are in the form <type> <key> <comments>, where comments are optional and can have spaces.

Test Plan

Tried these invalid keys:

  • Empty.
  • One part.
  • Invalid type.

Tried these valid keys:

  • No comment.
  • Normal comment.
  • Comment with spaces.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Fix validation of SSH keys with spaces in the comment field.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, btrahan.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 23 2014, 10:25 PM
epriestley updated this revision to Diff 23288.

Closed by commit rP5dffd8873748 (authored by @epriestley).