0

When redirecting from abc.mydomain.com to www.mydomain.com, I get "Invalid CORS request" in UCBrowser, but it works perfectly fine in other browsers like Chrome, Firefox etc. HTTP status code in response is 403.

I'm redirecting by response.sendRedirect("www.mydomain.com");

abc.mydomain.com points to a Java+spring-mvc app deployed on Tomcat 8 and www.mydomain.com points to a Progressive Web App (using Spring as container) on the same tomcat instance.

Why does UC browser behave differently as compared to Chrome?

There was no such peculiarity mentioned on caniuse.com. I didn't find any relevant information on this by Googling or searching on SO either.

flipcoin
  • 21
  • 5

1 Answers1

0

Best information I had about CORS ever...

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://........

Refer:

http://www.html5rocks.com/en/tutorials/cors/

Here something about Java: https://spring.io/guides/gs/rest-service-cors/

Community
  • 1
  • 1
Nahush Sarje
  • 137
  • 2
  • 3
  • 16
  • Thanks, but I have been through these already. I can't find any information on why it would work on Chrome and not on UC Browser. – flipcoin Mar 19 '17 at 23:21