PMC-1297
This commit is contained in:
@@ -488,10 +488,12 @@ function changeAbbreviationOfDirectives($size)
|
||||
function fixContentDispositionFilename($fileName, $replacement = '_')
|
||||
{
|
||||
//(double quote) has to be removed
|
||||
//(question mark) has to be replaced by underscore due to the issue in google chrome
|
||||
//(forward slash) has to replaced by underscore
|
||||
//(backslash) has to replaced by underscore
|
||||
$default = [
|
||||
'/[\"]/' => '',
|
||||
'/[\?]/' => $replacement,
|
||||
'/[\\|\/]/' => $replacement,
|
||||
'/\\\\/' => $replacement
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user