cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Pridham (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-4740) iOS InAppBrowser resets CordovaWebView user agent causing whitelist to fail.
Date Wed, 04 Sep 2013 20:40:52 GMT

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

Marcus Pridham updated CB-4740:
-------------------------------

    Attachment: www.zip

Attached a sample app.  Click the anchor button in the iab that displays to produce the issue.
 Use the following access in the config.xml:
<access origin="http://www.google.ca" />
                
> 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
>         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 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

Mime
View raw message