We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e17cfaa + aaa0f42 commit 8690e61Copy full SHA for 8690e61
src/File.php
@@ -83,7 +83,7 @@ public function send($filename = null, $contentType, $inline = false)
83
84
if ($filename!==null || $inline) {
85
$disposition = $inline ? 'inline' : 'attachment';
86
- header("Content-Disposition: $disposition; filename=\"$filename\"");
+ header('Content-Disposition: ' . $disposition . '; filename=' .$filename. '; filename*=UTF-8\'\''.rawurlencode($filename));
87
}
88
89
readfile($this->_fileName);
0 commit comments