https://bz.apache.org/bugzilla/show_bug.cgi?id=66512

--- Comment #9 from Christopher Schultz <ch...@christopherschultz.net> ---
Alexander, have a look at this StackOverflow question and answer:

https://stackoverflow.com/questions/93551/how-to-encode-the-filename-parameter-of-content-disposition-header-in-http

I suspect your "download servlet" is manually-setting the Content-Disposition
header in order to transmit the filename of the file back to the client. You
are also setting the "filename" header as well (as seen in your HTTP response
headers).

Try setting the contents of the "filename" attribute of the Content-Disposition
header to an encoded value in the same way that the "filename" header is being
encoded.

The sample code in the highest-voted answer uses C# but you should be able to
adapt it to Java code easily.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to