Is this a bug of Domino 6.5?

Hi,All folks: We have an agent to export a excel var web.The key code is:

Print |Content-Type:application/vnd.ms-excel|

Print |Content-Disposition:Attachment; filename=“Report.xls”|

It works well in Domino R5,when we upgrade to R6.5,A big trouble happens.The user can not open or download the excel.The download window show a random filename and no file type.IN R5,it should show Report.xls and Microsoft Excel.

after we delete the code of

Print |Content-Disposition:Attachment; filename=“Report.xls”|

The excel can open in the same menu.but it is not what we need.

why it happens?Is it a bug of domino6.5, or R6.5 does not support MIME parameter.

Who has the a same experience,please give some advice.

Thank you for advance.

Subject: Is this a bug of Domino 6.5?

Hi Thomas,

I had the same situation and I found out that when the agent is being run by @command([toolsrunmacro];“agent”) this issue is happening in R6. It works fine in R5 using @command.

I changed the code to run the agent using location.href(url) and everything is working perfectly in R6.

Ravi

Subject: Is this a bug of Domino 6.5?

I use the exact same code in my application on Domino 6.5

There are additional Server security flags introduced in 6.5 check the server security Tab, you may need to tweak that.