Re: CORS issue with Tomcat and Android Webview

2014-04-25 Thread Ankit Singhal
On Sat, Apr 26, 2014 at 12:53 AM, Terence M. Bandoian wrote: > On 4/24/2014 11:16 PM, Ankit Singhal wrote: > >> Hi >> >> I did more research on this and figure out the issue.If you see the >> headers >> from Android and look into Origin Header. >> >> Origin: file:// >> >> Tomcat CORS filter tries

Re: CORS issue with Tomcat and Android Webview

2014-04-25 Thread Terence M. Bandoian
On 4/24/2014 11:16 PM, Ankit Singhal wrote: Hi I did more research on this and figure out the issue.If you see the headers from Android and look into Origin Header. Origin: file:// Tomcat CORS filter tries to validate the URI in Origin header and considers "file://" as an invalid URI and retur

Re: CORS issue with Tomcat and Android Webview

2014-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ankit, On 4/25/14, 12:16 AM, Ankit Singhal wrote: > Hi > > I did more research on this and figure out the issue.If you see > the headers from Android and look into Origin Header. > > Origin: file:// > > Tomcat CORS filter tries to validate the UR