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
Thu, Nov 7, 2:55 AM (5 d, 23 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6729703
Default Alt Text
D14742.diff (915 B)

Event Timeline