Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 95DB3200B74 for ; Wed, 27 Jul 2016 18:46:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 94CDC160A90; Wed, 27 Jul 2016 16:46:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D3EAE160AA9 for ; Wed, 27 Jul 2016 18:46:21 +0200 (CEST) Received: (qmail 14737 invoked by uid 500); 27 Jul 2016 16:46:20 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 14426 invoked by uid 99); 27 Jul 2016 16:46:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2016 16:46:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8EF0B2C0D63 for ; Wed, 27 Jul 2016 16:46:20 +0000 (UTC) Date: Wed, 27 Jul 2016 16:46:20 +0000 (UTC) From: "Amir (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10532) jQuery.load() - Origin null is not allowed by Access-Control-Allow-Origin. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 27 Jul 2016 16:46:22 -0000 [ 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