Re: Tomcat seems to accept all characters in a URL

2021-03-23 Thread Boris Petrov
On 3/23/21 6:25 PM, Mark Thomas wrote: On 23/03/2021 16:09, Boris Petrov wrote: Hi all, I'm trying to figure out why Tomcat 9.0.44 seems to accept this URL: https://some-domain.com/[foo: "bar@asd/qwe%25rty'zzzqqq{rrr|ttt] Even when I haven't specified any "relaxedPathChars" (or when I

Re: Tomcat seems to accept all characters in a URL

2021-03-23 Thread Mark Thomas
On 23/03/2021 16:09, Boris Petrov wrote: Hi all, I'm trying to figure out why Tomcat 9.0.44 seems to accept this URL: https://some-domain.com/[foo: "bar@asd/qwe%25rty'zzzqqq{rrr|ttt] Even when I haven't specified any "relaxedPathChars" (or when I explicitly set it to an empty string). Note

Tomcat seems to accept all characters in a URL

2021-03-23 Thread Boris Petrov
Hi all, I'm trying to figure out why Tomcat 9.0.44 seems to accept this URL: https://some-domain.com/[foo: "bar@asd/qwe%25rty'zzzqqq{rrr|ttt] Even when I haven't specified any "relaxedPathChars" (or when I explicitly set it to an empty string). Note all the special characters in it,

Re: Realm issue with Tomcat 9

2021-03-23 Thread Ravi Kumar
Thanks Mark for this , applied the solution and it worked. On Tue, Mar 23, 2021 at 3:58 PM Mark Thomas wrote: > On 23/03/2021 10:05, Ravi Kumar wrote: > > Hello, > > I am migrating my application which is using tomcat 7 currently to tomcat > > 9. As there are a lot of changes in the API, with

Re: Realm issue with Tomcat 9

2021-03-23 Thread Mark Thomas
On 23/03/2021 10:05, Ravi Kumar wrote: Hello, I am migrating my application which is using tomcat 7 currently to tomcat 9. As there are a lot of changes in the API, with tomcat 7 we were setting the Realm for this engine by // set the Realm for this engine //tomcatServer.setDefaultRealm(new

Realm issue with Tomcat 9

2021-03-23 Thread Ravi Kumar
Hello, I am migrating my application which is using tomcat 7 currently to tomcat 9. As there are a lot of changes in the API, with tomcat 7 we were setting the Realm for this engine by // set the Realm for this engine //tomcatServer.setDefaultRealm(new TomcatRepoRealm()); Here tomcatServer is