MDL-73624 lib_spout: encode output file name
This commit is contained in:
@@ -4,6 +4,15 @@ Description of Spout library import
|
||||
* Only include the src/Spout directory.
|
||||
* Update lib/thirdpartylibs.xml with the latest version.
|
||||
|
||||
2022/10/27
|
||||
----------
|
||||
Changes:
|
||||
Box/Spout has been archived and is no longer maintained,
|
||||
MDL-73624 needs to fix with a couple of minor changes to
|
||||
Writer/WriterAbstract.php. The changes replace rawurldecode() with
|
||||
rawurlencode() in lines 143 and 144.
|
||||
by Meirza <[email protected]>
|
||||
|
||||
2021/09/01
|
||||
----------
|
||||
Update to v3.3.0 (MDL-71707)
|
||||
|
||||
@@ -140,8 +140,8 @@ abstract class WriterAbstract implements WriterInterface
|
||||
$this->globalFunctionsHelper->header('Content-Type: ' . static::$headerContentType);
|
||||
$this->globalFunctionsHelper->header(
|
||||
'Content-Disposition: attachment; ' .
|
||||
'filename="' . rawurldecode($this->outputFilePath) . '"; ' .
|
||||
'filename*=UTF-8\'\'' . rawurldecode($this->outputFilePath)
|
||||
'filename="' . rawurlencode($this->outputFilePath) . '"; ' .
|
||||
'filename*=UTF-8\'\'' . rawurlencode($this->outputFilePath)
|
||||
);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user