aboutsummaryrefslogtreecommitdiffstats
path: root/extensions/MoreBugUrl/lib/GetSatisfaction.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/MoreBugUrl/lib/GetSatisfaction.pm')
-rw-r--r--extensions/MoreBugUrl/lib/GetSatisfaction.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/MoreBugUrl/lib/GetSatisfaction.pm b/extensions/MoreBugUrl/lib/GetSatisfaction.pm
index 4c077b1a6..75d5ece39 100644
--- a/extensions/MoreBugUrl/lib/GetSatisfaction.pm
+++ b/extensions/MoreBugUrl/lib/GetSatisfaction.pm
@@ -20,7 +20,7 @@ sub should_handle {
# GetSatisfaction URLs only have one form:
# http(s)://getsatisfaction.com/PROJECT_NAME/topics/TOPIC_NAME
- return ($uri->authority =~ /^getsatisfaction.com$/i
+ return (lc($uri->authority) eq 'getsatisfaction.com'
and $uri->path =~ m|^/[^/]+/topics/[^/]+$|) ? 1 : 0;
}