cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10532) jQuery.load() - Origin null is not allowed by Access-Control-Allow-Origin.
Date Wed, 27 Jul 2016 16:46:20 GMT

    [ https://issues.apache.org/jira/browse/CB-10532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15395964#comment-15395964
] 

Amir commented on CB-10532:
---------------------------

These are well known issues here are some links to get used to it.
http://downloadgooglechromeall.blogspot.com/2016/07/chrome-error-origin-null-is-not-allowed.html
http://forums.asp.net/t/2072044.aspx?Access+Control+Allow+Origin+issue+in+chrome+and+firefox
http://community.dreamfactory.com/t/no-access-control-allow-origin-header-is-present/1246
http://stackoverflow.com/questions/3595515/xmlhttprequest-error-origin-null-is-not-allowed-by-access-control-allow-origin

> jQuery.load() - Origin null is not allowed by Access-Control-Allow-Origin.
> --------------------------------------------------------------------------
>
>                 Key: CB-10532
>                 URL: https://issues.apache.org/jira/browse/CB-10532
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.0.0, 6.0.0
>         Environment: iOS
>            Reporter: Adrian Florin Florescu
>            Assignee: jcesarmobile
>         Attachments: screenshot-1.png
>
>
> Trying to load a HTML file with jQuery from the root of the www folder gives me an error,
even if allow origin is set to * in the config.xml
> XMLHttpRequest cannot load file:///var/mobile/Containers/Bundle/Application/ECC92D3C-4C93-477E-A1FB-8450F6B3A913/Vivre.app/www/images/icons/dest/index.html?_=1454600799619.
Origin null is not allowed by Access-Control-Allow-Origin.
> `$( "#js-svg-inline" ).load( "./images/icons/dest/index.html #svg", function(){});`



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message