summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugUrl/SourceForge.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/BugUrl/SourceForge.pm')
-rw-r--r--Bugzilla/BugUrl/SourceForge.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/BugUrl/SourceForge.pm b/Bugzilla/BugUrl/SourceForge.pm
index 90a7ca6a5..630b97d7a 100644
--- a/Bugzilla/BugUrl/SourceForge.pm
+++ b/Bugzilla/BugUrl/SourceForge.pm
@@ -21,7 +21,7 @@ sub should_handle {
# SourceForge tracker URLs have only one form:
# http://sourceforge.net/tracker/?func=detail&aid=111&group_id=111&atid=111
- return ($uri->authority =~ /^sourceforge.net$/i
+ return (lc($uri->authority) eq 'sourceforge.net'
and $uri->path =~ m|/tracker/|
and $uri->query_param('func') eq 'detail'
and $uri->query_param('aid')