Hy guys!
I've had encountered a problem with my android app.
The app works perfectly from browser, but with phonegap I can't send POST massages to my backend tomcat server.
The problem is that the header that the application send is "Origin:file://". The Tomcat CORS filter tries to validate the URI in Origin header and considers "file://" as an invalid URI and returns back 403. Is there any way to change manually my origin header, even an empty would satisfy my needs?
I've had encountered a problem with my android app.
The app works perfectly from browser, but with phonegap I can't send POST massages to my backend tomcat server.
The problem is that the header that the application send is "Origin:file://". The Tomcat CORS filter tries to validate the URI in Origin header and considers "file://" as an invalid URI and returns back 403. Is there any way to change manually my origin header, even an empty would satisfy my needs?


