diff options
author | Simon Green <sgreen+mozilla@redhat.com> | 2012-01-25 21:14:08 +0100 |
---|---|---|
committer | Tiago Mello <timello@gmail.com> | 2012-01-25 21:14:08 +0100 |
commit | acfaac1cb3187cb8e2c08f541788f16822fe98d9 (patch) | |
tree | 10d74c8d45734b03ca1904facd6dd0fcdb0e8704 /Bugzilla/BugUrl | |
parent | 30df8d1904551415e7ea62ac83ddf14797cad3e1 (diff) | |
download | bugzilla-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
Diffstat (limited to 'Bugzilla/BugUrl')
-rw-r--r-- | Bugzilla/BugUrl/JIRA.pm | 2 |
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 { |