Remove double-quotes in filename* parameter of the Content-Disposition of downloads (#5857)

pull/5498/merge
Aleksander Machniak 7 years ago
parent 55e99398e1
commit 4793ec753a

@ -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);

Loading…
Cancel
Save