summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-07-18 21:56:47 +0200
committerDavid Lawrence <dkl@mozilla.com>2016-07-18 21:56:47 +0200
commitf6ef5910696e6069779a6905dd47284f7fa32e52 (patch)
treef21bdab1013b946691529532d6e41739ea86a718
parentc1a7fc30e31c6654c575ab407f52c49ffcd5c0ef (diff)
downloadbugzilla-f6ef5910696e6069779a6905dd47284f7fa32e52.tar.gz
bugzilla-f6ef5910696e6069779a6905dd47284f7fa32e52.tar.xz
Bug 1286960 - certain github commit messages are not being auto-linkified properly
-rw-r--r--extensions/BMO/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm
index 02989d756..082dcc606 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -697,7 +697,7 @@ sub bug_format_comment {
# link github commit messages
push (@$regexes, {
- match => qr#^(To\s(?:https://)?github\.com/(.+?)\.git\n
+ match => qr#^(To\s(?:https://|git@)?github\.com[:/](.+?)\.git\n
\s+)([0-9a-z]+\.\.([0-9a-z]+)\s+\S+\s->\s\S+)#mx,
replace => sub {
my $args = shift;