summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xattachment.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/attachment.cgi b/attachment.cgi
index da808bd3f..d5a69f198 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -391,7 +391,7 @@ sub view {
if ($contenttype !~ /\bcharset=/i) {
# In order to prevent Apache from adding a charset, we have to send a
# charset that's a single space.
- $cgi->charset("''");
+ $cgi->charset("");
if (Bugzilla->feature('detect_charset') && $contenttype =~ /^text\//) {
my $encoding = detect_encoding($attachment->data);
if ($encoding) {