summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/API/1_0/Server.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/API/1_0/Server.pm b/Bugzilla/API/1_0/Server.pm
index a443cd514..4dd0c7ddb 100644
--- a/Bugzilla/API/1_0/Server.pm
+++ b/Bugzilla/API/1_0/Server.pm
@@ -152,7 +152,7 @@ sub print_response {
my ($self, $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;