Re: Tomcat 9.0.31 Invalid character found in the request target

2020-03-05 Thread Martin Grigorov
Hi, On Wed, Mar 4, 2020 at 11:53 PM Bhavesh Mistry wrote: > Hi Tomcat Team, > > When there is invalid characters, it return error message with > stacktrace as shown below. 1) is there any way to costmize error > message ? if yes, please let me know. > > 2) Is there any way to spress stack-trace

Tomcat 9.0.31 Invalid character found in the request target

2020-03-04 Thread Bhavesh Mistry
Hi Tomcat Team, When there is invalid characters, it return error message with stacktrace as shown below. 1) is there any way to costmize error message ? if yes, please let me know. 2) Is there any way to spress stack-trace being shown on 400 bad request ? 3) Based on Accept header (application