1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 06:50:55 +01:00
phorge-phorge/src/applications/diffusion/controller
epriestley c749fcc192 Reject SCP-style URIs with explicit protocols in Diffusion
Summary:
Fixes T3619. These URIs are valid:

  git@domain.com:/path        (Git SCP-style implicit SSH)
  ssh://git@domain.com/path   (Explicit SSH)

This URI, arrived at by adding "ssh://" to the front of an SCP-style URI, is not:

  ssh://git@domain.com:/path

Detect URIs in this form and reject them. See T3619.

Test Plan:
{F75486}

Also set some valid URIs.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3619

Differential Revision: https://secure.phabricator.com/D7431
2013-10-29 15:32:51 -07:00
..
DiffusionBranchTableController.php Remove some old page rendering code from Diffusion 2013-09-23 12:53:55 -07:00
DiffusionBrowseController.php PHUIPropertyListView 2013-10-11 07:53:56 -07:00
DiffusionBrowseDirectoryController.php PHUIPropertyListView 2013-10-11 07:53:56 -07:00
DiffusionBrowseFileController.php Misc Diffusion/Differential CSS tweaks 2013-10-16 13:09:12 -07:00
DiffusionBrowseMainController.php Improve organization of Diffusion browse controllers 2013-09-19 16:01:34 -07:00
DiffusionBrowseSearchController.php PHUIPropertyListView 2013-10-11 07:53:56 -07:00
DiffusionChangeController.php PHUIPropertyListView 2013-10-11 07:53:56 -07:00
DiffusionCommitBranchesController.php Make more Diffusion controllers/views capability-sensitive 2013-09-27 10:49:45 -07:00
DiffusionCommitController.php Add an "importing" state to repositories and clean up the UI 2013-10-29 15:32:41 -07:00
DiffusionCommitEditController.php Always pass handles to tokenizers, not <phid -> name> maps 2013-10-07 12:51:24 -07:00
DiffusionCommitTagsController.php Make more Diffusion controllers/views capability-sensitive 2013-09-27 10:49:45 -07:00
DiffusionController.php Add an "importing" state to repositories and clean up the UI 2013-10-29 15:32:41 -07:00
DiffusionDiffController.php Modernize Diffusion "change" view 2013-09-23 12:54:12 -07:00
DiffusionExternalController.php Make more Diffusion controllers/views capability-sensitive 2013-09-27 10:49:45 -07:00
DiffusionHistoryController.php PHUIPropertyListView 2013-10-11 07:53:56 -07:00
DiffusionInlineCommentController.php Delete license headers from files 2012-11-05 11:16:51 -08:00
DiffusionInlineCommentPreviewController.php Delete license headers from files 2012-11-05 11:16:51 -08:00
DiffusionLastModifiedController.php Make more Diffusion controllers/views capability-sensitive 2013-09-27 10:49:45 -07:00
DiffusionLintController.php PHUIPropertyListView 2013-10-11 07:53:56 -07:00
DiffusionLintDetailsController.php Mostly modernize lint views and delete dead code 2013-09-23 12:55:47 -07:00
DiffusionPathCompleteController.php Make most repository reads policy-aware 2013-09-25 16:54:48 -07:00
DiffusionPathValidateController.php Make most repository reads policy-aware 2013-09-25 16:54:48 -07:00
DiffusionRepositoryController.php Make Phabricator clone bare git repositories 2013-10-29 15:32:41 -07:00
DiffusionRepositoryCreateController.php Reject SCP-style URIs with explicit protocols in Diffusion 2013-10-29 15:32:51 -07:00
DiffusionRepositoryDefaultController.php Accept and route VCS HTTP requests 2013-10-29 15:32:40 -07:00
DiffusionRepositoryEditActionsController.php Sort out application crumbs in new repository edit workflow 2013-10-25 15:58:58 -07:00
DiffusionRepositoryEditActivateController.php Sort out application crumbs in new repository edit workflow 2013-10-25 15:58:58 -07:00
DiffusionRepositoryEditBasicController.php Sort out application crumbs in new repository edit workflow 2013-10-25 15:58:58 -07:00
DiffusionRepositoryEditBranchesController.php Make Phabricator clone bare git repositories 2013-10-29 15:32:41 -07:00
DiffusionRepositoryEditController.php Sort out application crumbs in new repository edit workflow 2013-10-25 15:58:58 -07:00
DiffusionRepositoryEditDeleteController.php Move "Delete Repository" stuff to Diffusion 2013-10-29 12:26:07 -07:00
DiffusionRepositoryEditEncodingController.php Sort out application crumbs in new repository edit workflow 2013-10-25 15:58:58 -07:00
DiffusionRepositoryEditHostingController.php Route some VCS connections over SSH 2013-10-29 15:32:40 -07:00
DiffusionRepositoryEditLocalController.php Move editing "Local Path" to modern UI/controller/etc 2013-10-29 12:20:26 -07:00
DiffusionRepositoryEditMainController.php Add hosting, serving, and push policy options to repository edit 2013-10-29 15:32:40 -07:00
DiffusionRepositoryEditPolicyController.php Add hosting, serving, and push policy options to repository edit 2013-10-29 15:32:40 -07:00
DiffusionRepositoryEditSubversionController.php Sort out application crumbs in new repository edit workflow 2013-10-25 15:58:58 -07:00
DiffusionRepositoryListController.php Activate the new Repository creation workflow 2013-10-29 15:32:39 -07:00
DiffusionSymbolController.php Remove dust from page construction 2013-08-19 18:09:35 -07:00
DiffusionTagListController.php Remove some old page rendering code from Diffusion 2013-09-23 12:53:55 -07:00