Page MenuHomePhabricator

Validate Arcanist install-certificate URIs more carefully
ClosedPublic

Authored by epriestley on Jun 28 2016, 9:45 PM.
Tags
None
Referenced Files
F13096331: D16188.diff
Thu, Apr 25, 4:12 PM
Unknown Object (File)
Mon, Apr 22, 1:37 AM
Unknown Object (File)
Fri, Apr 19, 4:58 PM
Unknown Object (File)
Sat, Apr 6, 2:45 AM
Unknown Object (File)
Mar 14 2024, 2:56 PM
Unknown Object (File)
Feb 3 2024, 11:05 AM
Unknown Object (File)
Jan 31 2024, 11:27 PM
Unknown Object (File)
Jan 29 2024, 11:53 AM
Subscribers
None

Details

Summary

Fixes T11222. This was lazy-future-proofed for Conduit SSH support, but users are boundlessly creative. Check protocols explicitly.

Test Plan
$ arc install-certificate a.b:1/
Usage Exception: Server URI "a.b:1/" must include the "http" or "https" protocol. It should be in the form "https://phabricator.example.com/".
  • Also went through a successful workflow with a URI in the form provided in the example.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Validate Arcanist install-certificate URIs more carefully.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 28 2016, 10:15 PM
This revision was automatically updated to reflect the committed changes.