You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steve Gill (JIRA)" <ji...@apache.org> on 2013/10/07 23:12:45 UTC

[jira] [Updated] (CB-4740) iOS InAppBrowser resets CordovaWebView user agent causing whitelist to fail.

     [ https://issues.apache.org/jira/browse/CB-4740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Gill updated CB-4740:
---------------------------

    Assignee:     (was: Steve Gill)

> 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
>         Attachments: www.zip
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)