Page MenuHomePhabricator

D21040.id50116.diff
No OneTemporary

D21040.id50116.diff

diff --git a/src/applications/auth/provider/PhabricatorJIRAAuthProvider.php b/src/applications/auth/provider/PhabricatorJIRAAuthProvider.php
--- a/src/applications/auth/provider/PhabricatorJIRAAuthProvider.php
+++ b/src/applications/auth/provider/PhabricatorJIRAAuthProvider.php
@@ -335,7 +335,7 @@
public function getDoorkeeperURIRef(PhutilURI $uri) {
$uri_string = phutil_string_cast($uri);
- $pattern = '((https?://\S+?)/browse/([A-Z]+-[1-9]\d*))';
+ $pattern = '((https?://\S+?)/browse/([A-Z][A-Z0-9]*-[1-9]\d*))';
$matches = null;
if (!preg_match($pattern, $uri_string, $matches)) {
return null;

File Metadata

Mime Type
text/plain
Expires
Fri, May 10, 10:34 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6284203
Default Alt Text
D21040.id50116.diff (635 B)

Event Timeline