[SECURITY][ADVICE] File download issue

2014-11-07 Thread Lukasz Lenart
Hello, Please read the following links [1][2] as your public sites can be used to attack users' computers. The simplest solution is to be sure that all your download links define header "Content-disposition: attachment; filename=myfile.ext", you will find more details at the end of the pdf [1] h

RE: file download issue

2009-10-19 Thread Tarun Chowdhry
ds, Tarun -Original Message- From: Paweł Wielgus [mailto:poulw...@gmail.com] Sent: Monday, October 19, 2009 4:30 PM To: Struts Users Mailing List Subject: Re: file download issue Hi Tarun, double check that this InputStream is valid, i have such exception when i'm downloading not e

Re: file download issue

2009-10-19 Thread Paweł Wielgus
Hi Tarun, double check that this InputStream is valid, i have such exception when i'm downloading not existing files. Best greetings, Paweł Wielgus. 2009/10/19 Tarun Chowdhry : > Hi, > Getting the following exception when trying to call the FileUpload code: > Action class: > import java.io.*; >

file download issue

2009-10-19 Thread Tarun Chowdhry
Hi, Getting the following exception when trying to call the FileUpload code: Action class: import java.io.*; import com.opensymphony.xwork2.ActionSupport; import com.opensymphony.xwork2.Action; import org.apache.struts2.ServletActionContext; public class extends ActionSupport{ priv