You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Marcus Pridham (JIRA)" <ji...@apache.org> on 2013/09/04 22:40:52 UTC
[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=13758307#comment-13758307 ]
Marcus Pridham edited comment on CB-4740 at 9/4/13 8:39 PM:
------------------------------------------------------------
Attached a sample app. Click the anchor button in the iab that appears to produce the issue. Use the following access in the config.xml:
<access origin="http://www.google.ca" />
was (Author: mpridham):
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