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, Sep 12, 9:37 AM
Unknown Object (File)
Thu, Sep 12, 9:37 AM
Unknown Object (File)
Fri, Sep 6, 11:40 AM
Unknown Object (File)
Aug 31 2024, 1:36 PM
Unknown Object (File)
Aug 31 2024, 9:03 AM
Unknown Object (File)
Aug 23 2024, 3:41 AM
Unknown Object (File)
Aug 23 2024, 3:41 AM
Unknown Object (File)
Aug 23 2024, 3:41 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).