From 960c447aab7f3059ad6d88ca5c99efed518bfcab Mon Sep 17 00:00:00 2001 From: Arturas Moskvinas Date: Wed, 2 Oct 2019 22:26:56 +0300 Subject: [PATCH] Support more than 9 portals Summary: If portal is created with id > 9 - then those portals are not reachable and always return 404. Test Plan: Create at least 10 portals, 10th and rest of them will no longer return 404. Reviewers: epriestley, Pawka, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D20852 --- .../dashboard/application/PhabricatorDashboardApplication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/dashboard/application/PhabricatorDashboardApplication.php b/src/applications/dashboard/application/PhabricatorDashboardApplication.php index 9beac5ae53..9a09283fe3 100644 --- a/src/applications/dashboard/application/PhabricatorDashboardApplication.php +++ b/src/applications/dashboard/application/PhabricatorDashboardApplication.php @@ -69,7 +69,7 @@ final class PhabricatorDashboardApplication extends PhabricatorApplication { 'PhabricatorDashboardPortalListController', $this->getEditRoutePattern('edit/') => 'PhabricatorDashboardPortalEditController', - 'view/(?P\d)/' => array( + 'view/(?P\d+)/' => array( '' => 'PhabricatorDashboardPortalViewController', ) + $menu_rules,