@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow Phurl short aliases to accept trailing `/` characters

Summary: Fixes T9963.

Test Plan: Visited `/u/x/` and `/u/x`.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9963

Differential Revision: https://secure.phabricator.com/D14742

+3 -3
+3 -3
src/applications/phurl/application/PhabricatorPhurlApplication.php
··· 35 35 36 36 public function getRoutes() { 37 37 return array( 38 - '/U(?P<id>[1-9]\d*)' => 'PhabricatorPhurlURLViewController', 39 - '/u/(?P<id>[1-9]\d*)' => 'PhabricatorPhurlURLAccessController', 40 - '/u/(?P<alias>[^/]+)' => 'PhabricatorPhurlURLAccessController', 38 + '/U(?P<id>[1-9]\d*)/?' => 'PhabricatorPhurlURLViewController', 39 + '/u/(?P<id>[1-9]\d*)/?' => 'PhabricatorPhurlURLAccessController', 40 + '/u/(?P<alias>[^/]+)/?' => 'PhabricatorPhurlURLAccessController', 41 41 '/phurl/' => array( 42 42 '(?:query/(?P<queryKey>[^/]+)/)?' 43 43 => 'PhabricatorPhurlURLListController',