summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugUrl/Google.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/BugUrl/Google.pm')
-rw-r--r--Bugzilla/BugUrl/Google.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/BugUrl/Google.pm b/Bugzilla/BugUrl/Google.pm
index eb9aa88f2..dd9ab7ff4 100644
--- a/Bugzilla/BugUrl/Google.pm
+++ b/Bugzilla/BugUrl/Google.pm
@@ -21,7 +21,7 @@ sub should_handle {
# Google Code URLs only have one form:
# http(s)://code.google.com/p/PROJECT_NAME/issues/detail?id=1234
- return ($uri->authority =~ /^code.google.com$/i
+ return (lc($uri->authority) eq 'code.google.com'
and $uri->path =~ m|^/p/[^/]+/issues/detail$|
and $uri->query_param('id') =~ /^\d+$/) ? 1 : 0;
}