Content-Disposition filename must be quoted
This commit is contained in:
parent
e94176a4c5
commit
c1a36f0bdc
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ public class RouteServer extends Thread
|
|||
bw.write( "Content-Type: " + mimeType + "; charset=utf-8\n" );
|
||||
if ( fileName != null )
|
||||
{
|
||||
bw.write( "Content-Disposition: attachment; filename=" + fileName + "\n" );
|
||||
bw.write( "Content-Disposition: attachment; filename=\"" + fileName + "\"\n" );
|
||||
}
|
||||
bw.write( "Access-Control-Allow-Origin: *\n" );
|
||||
if ( headers != null )
|
||||
|
|
Loading…
Reference in a new issue