Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15302776
D21040.id50116.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
635 B
Referenced Files
None
Subscribers
None
D21040.id50116.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 6, 9:36 PM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7309203
Default Alt Text
D21040.id50116.diff (635 B)
Attached To
Mode
D21040: According to Jira Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters
Attached
Detach File
Event Timeline
Log In to Comment