From 4793ec753a4ca8d222687f4515493bac0b9bef97 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 14 Jan 2018 10:10:20 +0100 Subject: [PATCH] Remove double-quotes in filename* parameter of the Content-Disposition of downloads (#5857) --- program/lib/Roundcube/rcube_output.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/lib/Roundcube/rcube_output.php b/program/lib/Roundcube/rcube_output.php index 359128d54..74b61fd6f 100644 --- a/program/lib/Roundcube/rcube_output.php +++ b/program/lib/Roundcube/rcube_output.php @@ -232,7 +232,7 @@ abstract class rcube_output $disposition .= sprintf("; filename=\"%s\"", $filename); } else { - $disposition .= sprintf("; filename*=\"%s''%s\"", $params['charset'] ?: $this->charset, rawurlencode($filename)); + $disposition .= sprintf("; filename*=%s''%s", $params['charset'] ?: $this->charset, rawurlencode($filename)); } header($disposition);