{"action":"closed","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/13587","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/13587/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/13587/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/13587/events","html_url":"https://github.com/ariya/phantomjs/issues/13587","id":106374709,"number":13587,"title":"Cannot access urls with \"-\" in them?","user":{"login":"Samuel1989","id":4939016,"avatar_url":"https://avatars.githubusercontent.com/u/4939016?v=3","gravatar_id":"","url":"https://api.github.com/users/Samuel1989","html_url":"https://github.com/Samuel1989","followers_url":"https://api.github.com/users/Samuel1989/followers","following_url":"https://api.github.com/users/Samuel1989/following{/other_user}","gists_url":"https://api.github.com/users/Samuel1989/gists{/gist_id}","starred_url":"https://api.github.com/users/Samuel1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samuel1989/subscriptions","organizations_url":"https://api.github.com/users/Samuel1989/orgs","repos_url":"https://api.github.com/users/Samuel1989/repos","events_url":"https://api.github.com/users/Samuel1989/events{/privacy}","received_events_url":"https://api.github.com/users/Samuel1989/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-14T16:06:49Z","updated_at":"2015-09-14T16:15:01Z","closed_at":"2015-09-14T16:15:01Z","body":"Hi all,\r\n\r\nI am experiencing a bit of a weird issue where I have two nearly identical sites (the pages I am trying to write CasperJS/PhantomJS to test are identical), but the urls are slightly different (where by one has a \"-\" in it). One of the pages is passing successfully where the other is failing to load the url.\r\n\r\nThe one that is failing also uses https, but I have attempted to access the site without the \"-\" and using https and this works.\r\n\r\ne.g.\r\nhttp://samtest.com - works\r\nhttps://sam-test.com - fails to reach url\r\nhttps://samtest.com - works\r\n\r\nI turned on debug, but it wasn't very helpful:\r\n```\r\n[info] [phantom] Starting...\r\n[info] [phantom] Running suite: 4 steps\r\n[debug] [phantom] opening url: https://sam-test.com/, HTTP GET\r\n[debug] [phantom] Navigation requested: url=https://sam-test.com/, type=Other, willNavigate=true, isMainFrame=true\r\n[warning] [phantom] Loading resource failed with status=fail: https://sam-test.com/\r\n[debug] [phantom] Successfully injected Casper client-side utilities\r\n[debug] [phantom] start page is loaded\r\n```\r\n\r\nI am using CasperJS Version 1.1.0-beta3 and PhantomJS Version 1.9.8.\r\n\r\nAny help would be really appreciated."}}