Page MenuHomePhabricator

D14742.diff
No OneTemporary

D14742.diff

diff --git a/src/applications/phurl/application/PhabricatorPhurlApplication.php b/src/applications/phurl/application/PhabricatorPhurlApplication.php
--- a/src/applications/phurl/application/PhabricatorPhurlApplication.php
+++ b/src/applications/phurl/application/PhabricatorPhurlApplication.php
@@ -35,9 +35,9 @@
public function getRoutes() {
return array(
- '/U(?P<id>[1-9]\d*)' => 'PhabricatorPhurlURLViewController',
- '/u/(?P<id>[1-9]\d*)' => 'PhabricatorPhurlURLAccessController',
- '/u/(?P<alias>[^/]+)' => 'PhabricatorPhurlURLAccessController',
+ '/U(?P<id>[1-9]\d*)/?' => 'PhabricatorPhurlURLViewController',
+ '/u/(?P<id>[1-9]\d*)/?' => 'PhabricatorPhurlURLAccessController',
+ '/u/(?P<alias>[^/]+)/?' => 'PhabricatorPhurlURLAccessController',
'/phurl/' => array(
'(?:query/(?P<queryKey>[^/]+)/)?'
=> 'PhabricatorPhurlURLListController',

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 25, 6:36 PM (10 h, 48 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6927400
Default Alt Text
D14742.diff (915 B)

Event Timeline