Join GitHub today
File names aren't output correctly #250
In version 8.2, file names containing a comma could be output without issues. In version 9, the commas are replaced with a percent encoding.
Standalone code, or other way to reproduce the problem
$csv = \League\Csv\Writer::createFromFileObject(new \SplTempFileObject()); $csv->insertOne(['Value']); $csv->output('File name, with comma.csv');
Downloaded file should be named File name, with comma.csv
Downloaded file is named File name%2C with comma.csv in Chrome.