summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Quantum/CGI.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Quantum/CGI.pm b/Bugzilla/Quantum/CGI.pm
index beb849687..79fbcfde6 100644
--- a/Bugzilla/Quantum/CGI.pm
+++ b/Bugzilla/Quantum/CGI.pm
@@ -91,6 +91,8 @@ sub _ENV {
= $req->content->is_multipart ? $req->body_size : $headers->content_length;
my %env_headers = (HTTP_COOKIE => '', HTTP_REFERER => '');
+ $headers->content_type('application/x-www-form-urlencoded; charset=utf-8')
+ unless $headers->content_type;
for my $name (@{$headers->names}) {
my $key = uc "http_$name";
$key =~ s/\W/_/g;