diff options
author | Byron Jones <glob@mozilla.com> | 2015-03-09 09:15:12 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-09 09:15:12 +0100 |
commit | 1f5413655f09c5714ac1b6fe5a34e5b38db3e9f2 (patch) | |
tree | 730d2561db29dc2be842a5635c7b1c761f2a1db0 | |
parent | de0781fdf4a15d824d880afb012d548a084f79b8 (diff) | |
download | bugzilla-1f5413655f09c5714ac1b6fe5a34e5b38db3e9f2.tar.gz bugzilla-1f5413655f09c5714ac1b6fe5a34e5b38db3e9f2.tar.xz |
Bug 1139755: Fix 'Use of uninitialized value' warning
-rw-r--r-- | Bugzilla/WebService/Util.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Util.pm b/Bugzilla/WebService/Util.pm index 5d7dd7dd6..4eae66bd3 100644 --- a/Bugzilla/WebService/Util.pm +++ b/Bugzilla/WebService/Util.pm @@ -275,7 +275,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)); } } |