kopia lustrzana https://github.com/c9/core
Use escape instead of encodeURIComponent so that download filenames are encoded correctly (e.g., filenames containing a single quote)
rodzic
0dc707ec65
commit
dbf1d72d1c
|
@ -44,7 +44,7 @@ define(function(require, exports, module) {
|
|||
filename += (paths.length > 1 ? "[+" + (paths.length - 1) + "]" : "") + ".tar.gz";
|
||||
}
|
||||
}
|
||||
var filenameHeader = "attachment; filename*=utf-8''" + encodeURIComponent(filename);
|
||||
var filenameHeader = "attachment; filename*=utf-8''" + escape(filename);
|
||||
|
||||
var process;
|
||||
req.on("close", function() {
|
||||
|
|
Ładowanie…
Reference in New Issue