summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-03-09 09:15:55 +0100
committerByron Jones <glob@mozilla.com>2015-03-09 09:15:55 +0100
commit0d3b1ca0fd50904a994196bb8b0b9021ea11a414 (patch)
treec9a76e2c96cc0f7430467e3fe3100708d975b4d3
parent77ef1abbcc12440cfb2c1af271467e9e14b388ba (diff)
downloadbugzilla-0d3b1ca0fd50904a994196bb8b0b9021ea11a414.tar.gz
bugzilla-0d3b1ca0fd50904a994196bb8b0b9021ea11a414.tar.xz
Bug 1139755: Fix 'Use of uninitialized value' warning
-rw-r--r--Bugzilla/WebService/Util.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Util.pm b/Bugzilla/WebService/Util.pm
index 9bd079330..cba18c31e 100644
--- a/Bugzilla/WebService/Util.pm
+++ b/Bugzilla/WebService/Util.pm
@@ -285,7 +285,7 @@ sub fix_credentials {
# This allows callers to keep credentials out of GET request query-strings
if ($cgi) {
foreach my $field (keys %{ X_HEADERS() }) {
- next if exists $params->{X_HEADERS->{$field}} || $cgi->http($field) eq '';
+ next if exists $params->{X_HEADERS->{$field}} || $cgi->http($field) // '' eq '';
$params->{X_HEADERS->{$field}} = uri_unescape($cgi->http($field));
}
}