Re: Unable to read the orginal url when host header is specified.

2021-03-12 Thread Christopher Schultz
Anaurag, On 3/11/21 20:50, Anurag Sharma wrote: My code is running on local host and i am hitting one of my urls as below curl -k -vv --http1.1 "https://localhost:8443/versa/login; -H 'Host: google.com' What do you think curl is sending to the server with the above command? The -vv suggests

Re: Unable to read the orginal url when host header is specified.

2021-03-12 Thread Anurag Sharma
I am using 9.0.31 Get Outlook for Android From: Mark Thomas Sent: Thursday, March 11, 2021, 11:27 PM To: users@tomcat.apache.org Subject: Re: Unable to read the orginal url when host header is specified. On 12/03/2021 01:50, Anurag Sharma

Re: Unable to read the orginal url when host header is specified.

2021-03-11 Thread Mark Thomas
On 12/03/2021 01:50, Anurag Sharma wrote: My code is running on local host and i am hitting one of my urls as below curl -k -vv --http1.1 "https://localhost:8443/versa/login; -H 'Host: google.com' Now i m a trying to read the url in my code using following StringBuffer url =

Unable to read the orginal url when host header is specified.

2021-03-11 Thread Anurag Sharma
My code is running on local host and i am hitting one of my urls as below curl -k -vv --http1.1 "https://localhost:8443/versa/login; -H 'Host: google.com' Now i m a trying to read the url in my code using following StringBuffer url = httpServletRequest.getRequestURL(); The value is always