diff options
author | Simon Green <sgreen+mozilla@redhat.com> | 2012-01-25 21:11:04 +0100 |
---|---|---|
committer | Tiago Mello <timello@gmail.com> | 2012-01-25 21:11:04 +0100 |
commit | 15f7b4a8742210c2722f27e8ae7184f7be4da4f1 (patch) | |
tree | b6f940e7b40d931c394362c744488fb9d0020f22 /Bugzilla | |
parent | 4ec36598e428f9a2e6a3c17dbc448ef19be898f4 (diff) | |
download | bugzilla-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')
-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 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 { |