summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugUrl
diff options
context:
space:
mode:
authorSimon Green <sgreen+mozilla@redhat.com>2012-01-25 21:11:04 +0100
committerTiago Mello <timello@gmail.com>2012-01-25 21:11:04 +0100
commit15f7b4a8742210c2722f27e8ae7184f7be4da4f1 (patch)
treeb6f940e7b40d931c394362c744488fb9d0020f22 /Bugzilla/BugUrl
parent4ec36598e428f9a2e6a3c17dbc448ef19be898f4 (diff)
downloadbugzilla-15f7b4a8742210c2722f27e8ae7184f7be4da4f1.tar.gz
bugzilla-15f7b4a8742210c2722f27e8ae7184f7be4da4f1.tar.xz
Bug 717217: The regexp in Bugzilla::BugUrl::JIRA::should_handle() isn't
restrictive enough (min two letters required) r=timello, a=LpSolit
Diffstat (limited to 'Bugzilla/BugUrl')
-rw-r--r--Bugzilla/BugUrl/JIRA.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/BugUrl/JIRA.pm b/Bugzilla/BugUrl/JIRA.pm
index 8ac10ea12..8a7b90c3e 100644
--- a/Bugzilla/BugUrl/JIRA.pm
+++ b/Bugzilla/BugUrl/JIRA.pm
@@ -18,7 +18,7 @@ use Bugzilla::Util;
sub should_handle {
my ($class, $uri) = @_;
- return ($uri->path =~ m|/browse/[A-Z]+-\d+$|) ? 1 : 0;
+ return ($uri->path =~ m|/browse/[A-Z][A-Z]+-\d+$|) ? 1 : 0;
}
sub _check_value {