summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/WebService')
-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 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));
}
}