Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14415594
D14742.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
915 B
Referenced Files
None
Subscribers
None
D14742.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D14742: Allow Phurl short aliases to accept trailing `/` characters
Attached
Detach File
Event Timeline
Log In to Comment