summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Green <sgreen+mozilla@redhat.com>2012-01-25 21:14:08 +0100
committerTiago Mello <timello@gmail.com>2012-01-25 21:14:08 +0100
commitacfaac1cb3187cb8e2c08f541788f16822fe98d9 (patch)
tree10d74c8d45734b03ca1904facd6dd0fcdb0e8704
parent30df8d1904551415e7ea62ac83ddf14797cad3e1 (diff)
downloadbugzilla-acfaac1cb3187cb8e2c08f541788f16822fe98d9.tar.gz
bugzilla-acfaac1cb3187cb8e2c08f541788f16822fe98d9.tar.xz
Bug 717217: The regexp in Bugzilla::BugUrl::JIRA::should_handle() isn't
restrictive enough (min two letters required) r=timello, a=LpSolit
-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 97014e8a2..d0adcfed8 100644
--- a/Bugzilla/BugUrl/JIRA.pm
+++ b/Bugzilla/BugUrl/JIRA.pm
@@ -31,7 +31,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 {