This is a migrated thread and some comments may be shown as answers.

FileExplorer comma character in Chrome

1 Answer 458 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Iron
Kjell asked on 20 Feb 2015, 05:06 PM
Problem to using the comma in the file name in Google Chrome. I have "ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION"
How can I solve it?
No problem using the comma in Explorer, Firefox or Safari......

1 Answer, 1 is accepted

Sort by
0
Kjell
Top achievements
Rank 1
Iron
answered on 22 Feb 2015, 07:18 PM
I solved the problem by changing the Handler.ashx

Change:
response.AddHeader("content-disposition", "attachment; filename=" + fileName);
to:
response.AddHeader("Content-Disposition", "attachment;filename=" + '"' + fileName + '"');
Tags
FileExplorer
Asked by
Kjell
Top achievements
Rank 1
Iron
Answers by
Kjell
Top achievements
Rank 1
Iron
Share this question
or