Marcus Pridham created CB-4740:
----------------------------------

             Summary: iOS InAppBrowser resets CordovaWebView user agent causing 
whitelist to fail.
                 Key: CB-4740
                 URL: https://issues.apache.org/jira/browse/CB-4740
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin InAppBrowser
    Affects Versions: 3.0.0
         Environment: iOS 6.1
            Reporter: Marcus Pridham
            Assignee: Steve Gill


If I navigate to an anchor using window.location.hash in the InAppBrowser it 
resets the CordovaWebView agent.

Original User Agent:

Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/536.26 
(KHTML, like Gecko) Mobile/10B141 (176830592)

After IAB closed User-Agent:

Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/536.26 
(KHTML, like Gecko) Mobile/10B141

After the IAB is closed, I can make XHR requests to URLs that my config.xml 
access origin should have blocked.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to