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 D9E5D200C55 for ; Thu, 9 Mar 2017 01:49:42 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D8966160B83; Thu, 9 Mar 2017 00:49:42 +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 F19B0160B89 for ; Thu, 9 Mar 2017 01:49:41 +0100 (CET) Received: (qmail 90637 invoked by uid 500); 9 Mar 2017 00:49:41 -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 90624 invoked by uid 99); 9 Mar 2017 00:49:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2017 00:49:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B5E2E1A7A06 for ; Thu, 9 Mar 2017 00:49:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3f9by277HLGo for ; Thu, 9 Mar 2017 00:49:40 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 810C65F64B for ; Thu, 9 Mar 2017 00:49:39 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B2349E0593 for ; Thu, 9 Mar 2017 00:49:38 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1035224389 for ; Thu, 9 Mar 2017 00:49:38 +0000 (UTC) Date: Thu, 9 Mar 2017 00:49:38 +0000 (UTC) From: "Brian Soumakian (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-12555) Host multiple cordova apps from same domain MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Mar 2017 00:49:43 -0000 Brian Soumakian created CB-12555: ------------------------------------ Summary: Host multiple cordova apps from same domain Key: CB-12555 URL: https://issues.apache.org/jira/browse/CB-12555 Project: Apache Cordova Issue Type: Bug Components: Plugin SplashScreen Reporter: Brian Soumakian I have two cordova apps that I would like to host from the same domain. This should be fixed by setting the base href for each app, however, cordova does not abide by this base href when making an XHR request for config.xml. This is affecting the usage of the SplashScreen plugin and any other plugin making use of the 'cordova/confighelper' module. The 'cordova/confighelper' module uses the following line of code to get the config.xml: xhr.open("get", "/config.xml", true); This call fails when the app is not hosted from the root folder. The base href should be used to figure out the relative path to the file. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org