You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mike Billau (JIRA)" <ji...@apache.org> on 2013/10/02 20:59:44 UTC
[jira] [Commented] (CB-4972) Load page domain name with between
character error
[ https://issues.apache.org/jira/browse/CB-4972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784289#comment-13784289 ]
Mike Billau commented on CB-4972:
---------------------------------
Did you make sure to add the domain to your whitelist? I was not able to reproduce this - using a hyphen in the domain name still worked when I had the site whitelisted. (When I removed the whitelist entry, then I was getting the same error you listed above.) Please check your whitelist.
> Load page domain name with between character error
> --------------------------------------------------
>
> Key: CB-4972
> URL: https://issues.apache.org/jira/browse/CB-4972
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.0.0
> Environment: Android
> Reporter: Khai Bui
> Assignee: Mike Billau
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> public class HelloWorld extends DroidGap
> {
> @Override
> public void onCreate(Bundle savedInstanceState)
> {
> super.onCreate(savedInstanceState);
> // Set by <content src="index.html" /> in config.xml
> //super.loadUrl(Config.getStartUrl());
> super.loadUrl("http://www.example-name.com");
> }
> }
> URL http://www.example-name.com have a between "-" on example-name
> Application Error
> The connection to the server was unsuccessful. (http://www.example-name.com)
--
This message was sent by Atlassian JIRA
(v6.1#6144)