From 75dd49857e93b2e7f6f56d48a057f1f4f4a27815 Mon Sep 17 00:00:00 2001 From: Devil Date: Tue, 20 Jul 2021 23:47:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8B=E8=BD=BD=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=BA=8C=E8=BF=9B=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/base/Qrcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extend/base/Qrcode.php b/extend/base/Qrcode.php index 0ccfcca2f..ae2758720 100644 --- a/extend/base/Qrcode.php +++ b/extend/base/Qrcode.php @@ -205,7 +205,7 @@ class Qrcode header('Expires: 0'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Cache-Control: private',false); - header('Content-Type: application/force-download'); + header('Content-Type: application/octet-stream;charset=utf-8'); header('Content-Disposition: attachment; filename="'.$filename.'"'); header('Content-Transfer-Encoding: binary'); header('Connection: close');