Commit adf4d333 authored by Thomas Bella's avatar Thomas Bella

Fix incorrect charset

Charset within the header should be lowercase
parent c325c538
<?php
session_start();
header('Content-Type: text/html; Charset=UTF-8');
header('Content-Type: text/html; charset=UTF-8');
header('Content-Security-Policy: default-src \'self\' \'unsafe-inline\' ururl.tk maxcdn.bootstrapcdn.com code.jquery.com;');
if (!empty($_SESSION['active']) && empty($_SESSION['token'])) {
......@@ -58,7 +58,7 @@ if (isset($_SESSION["active"]) && isset($_GET["ajax"])) {
exit;
} else if (EXPORT && isset($_SESSION['active']) && isset($_GET['export'])) {
if ($_GET['export'] == 'csv') {
header('Content-Type: text/csv; Charset=UTF-8');
header('Content-Type: text/csv; charset=UTF-8');
header('Content-Disposition: attachment; filename="certificate-monitor-' . date('Ymd') . '.csv"');
header('Pragma: no-cache');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment