summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/bin
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-10-24 07:15:38 +0200
committerByron Jones <bjones@mozilla.com>2013-10-24 07:15:38 +0200
commitace93239c350e28c8201d948ea0f5c9126c2759a (patch)
treefd7c0112b12065aa7ecf5acccbb5914f92170cfe /extensions/BMO/bin
parent5d9ef79dda657769f21833b030c9ed154468e0ab (diff)
downloadbugzilla-ace93239c350e28c8201d948ea0f5c9126c2759a.tar.gz
bugzilla-ace93239c350e28c8201d948ea0f5c9126c2759a.tar.xz
Bug 930366: detection of github PRs not working with trailing '/' in urls
Diffstat (limited to 'extensions/BMO/bin')
-rwxr-xr-xextensions/BMO/bin/migrate-github-pull-requests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BMO/bin/migrate-github-pull-requests.pl b/extensions/BMO/bin/migrate-github-pull-requests.pl
index eba0dd422..de71a7856 100755
--- a/extensions/BMO/bin/migrate-github-pull-requests.pl
+++ b/extensions/BMO/bin/migrate-github-pull-requests.pl
@@ -57,7 +57,7 @@ foreach my $attachment (@$attachments) {
# check payload
my $url = trim($attachment->{thedata});
next if $url =~ /\s/;
- next unless $url =~ m#^https://github\.com/[^/]+/[^/]+/pull/\d+$#i;
+ next unless $url =~ m#^https://github\.com/[^/]+/[^/]+/pull/\d+\/?$#i;
$dbh->bz_start_transaction;