Page MenuHomePhabricator

D21040.id50115.diff
No OneTemporary

D21040.id50115.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
Tue, Mar 25, 6:52 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7309203
Default Alt Text
D21040.id50115.diff (635 B)

Event Timeline