Then, set the content type to text/html so see if the filename is correct in that case.
On Wed, Apr 12, 2017 at 11:44 AM, Maxim Solodovnik <[email protected]> wrote: > In case I'm setting file name to "backp.zip.html" the file is being > downloaded as <UUID>.zip > I guess "zip" is being set from content type > File name is just ignored > > On Wed, Apr 12, 2017 at 4:38 PM, Sebastien <[email protected]> wrote: > > > I know, it's just to test the filename... > > > > On Wed, Apr 12, 2017 at 11:29 AM, Maxim Solodovnik <[email protected] > > > > wrote: > > > > > But I need zip extension, otherwise it will be unusable .... > > > > > > On Wed, Apr 12, 2017 at 4:27 PM, Sebastien <[email protected]> wrote: > > > > > > > I did the same problem recently (I still have to answer Sven about > > this, > > > I > > > > will do it soon) > > > > Try out changing your extension to ".html" to see if it's the same > > > > behavior, maybe it will help you to investigate further. (in my case, > > > "csv" > > > > had issue with the filename and "html" was fine) > > > > > > > > > > > > > > > > -- > > > WBR > > > Maxim aka solomax > > > > > > > > > -- > WBR > Maxim aka solomax >
