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 5266f8fa7..d9381b2c8 100644 --- a/Bugzilla/WebService/Server/REST.pm +++ b/Bugzilla/WebService/Server/REST.pm @@ -142,7 +142,7 @@ sub response { { rpc => $self, result => \$result, response => $response }); # Access Control - my @allowed_headers = qw(accept content-type origin x-requested-with); + my @allowed_headers = qw(accept content-type origin user-agent x-requested-with); foreach my $header (keys %{ API_AUTH_HEADERS() }) { # We want to lowercase and replace _ with - my $translated_header = $header; |