Cannot access urls with "-" in them?
Hi all,
I 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.
The one that is failing also uses https, but I have attempted to access the site without the "-" and using https and this works.
e.g. http://samtest.com - works https://sam-test.com - fails to reach url https://samtest.com - works
I turned on debug, but it wasn't very helpful:
[info] [phantom] Starting...
[info] [phantom] Running suite: 4 steps
[debug] [phantom] opening url: https://sam-test.com/, HTTP GET
[debug] [phantom] Navigation requested: url=https://sam-test.com/, type=Other, willNavigate=true, isMainFrame=true
[warning] [phantom] Loading resource failed with status=fail: https://sam-test.com/
[debug] [phantom] Successfully injected Casper client-side utilities
[debug] [phantom] start page is loaded
I am using CasperJS Version 1.1.0-beta3 and PhantomJS Version 1.9.8.
Any help would be really appreciated.
Actually it seems to be a weird redirect issue on my end...
I will close this issue.