[
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 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)