diff options
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r-- | Bugzilla/WebService/Server/REST.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Server/REST.pm b/Bugzilla/WebService/Server/REST.pm index 44e85835e..1af41fe16 100644 --- a/Bugzilla/WebService/Server/REST.pm +++ b/Bugzilla/WebService/Server/REST.pm @@ -142,7 +142,7 @@ sub response { # Access Control my @allowed_headers = qw(accept content-type origin x-requested-with); - foreach my $header (keys API_AUTH_HEADERS()) { + foreach my $header (keys %{ API_AUTH_HEADERS() }) { # We want to lowercase and replace _ with - my $translated_header = $header; $translated_header =~ tr/A-Z_/a-z\-/; |