Re: AW: AW: AW: Filehandle left open when using sendfile

2022-06-20 Thread Mark Thomas
On 20/06/2022 11:39, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Mark, thanks for your reply! -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Montag, 20. Juni 2022 12:06 An: users@tomcat.apache.org Betreff: Re: AW: AW: Filehandle left open when using sendfile On 16/06/2022

AW: Apache Tomcat 8 - Require Tomcat configuration to restrict exe's from downloading

2022-06-20 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, maybe this stackoverflow page helps already: https://stackoverflow.com/questions/9862746/restrict-allow-file-access-in-tomcat-based-on-file-extension-via-whitelist Your snippet of the web.xml is just a configuration if an unknown servlet. If the corresponding servlet is custom, you need

Re: Apache Tomcat 8 - Require Tomcat configuration to restrict exe's from downloading

2022-06-20 Thread bharath Kumar
Sure Olaf will update it On Mon, Jun 20, 2022 at 3:33 PM Olaf Kock wrote: > > On 20.06.22 11:51, bharath Kumar wrote: > > Hi Team, > > > > I am using apache Tomcat 8 version, > > > > *Problem statement: * > > > > My application's accessible URL format is > > *http:///abc/xyz.exe* > > A good

AW: AW: AW: Filehandle left open when using sendfile

2022-06-20 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Mark, thanks for your reply! > -Ursprüngliche Nachricht- > Von: Mark Thomas > Gesendet: Montag, 20. Juni 2022 12:06 > An: users@tomcat.apache.org > Betreff: Re: AW: AW: Filehandle left open when using sendfile > > On 16/06/2022 19:58, Thomas Hoffmann (Speed4Trade GmbH) wrote: >

Re: AW: AW: Filehandle left open when using sendfile

2022-06-20 Thread Mark Thomas
On 16/06/2022 19:58, Thomas Hoffmann (Speed4Trade GmbH) wrote: In the meantime I stumbled upon this bug-Report: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4715154 So maybe the problem lies even deeper. Similar description here:

Re: Apache Tomcat 8 - Require Tomcat configuration to restrict exe's from downloading

2022-06-20 Thread Olaf Kock
On 20.06.22 11:51, bharath Kumar wrote: > Hi Team, > > I am using apache Tomcat 8 version, > > *Problem statement: * > > My application's accessible URL format is > *http:///abc/xyz.exe* A good way to get the question answered would be to answer the comments on your identical Stackoverflow

Apache Tomcat 8 - Require Tomcat configuration to restrict exe's from downloading

2022-06-20 Thread bharath Kumar
Hi Team, I am using apache Tomcat 8 version, *Problem statement: * My application's accessible URL format is *http:///abc/xyz.exe* when I hit it on the browser with '/' appended to end the url something like *http:///abc/xyz.exe/ * Then, the junk file *xyz.exe* is getting downloaded from