{"issue":{"created_at":"2011-12-07T12:41:04Z","state":"open","updated_at":"2011-12-07T12:41:04Z","user":{"gravatar_id":"c76bca58e7a8cffa9221eaebe6358f07","id":1247045,"url":"https://api.github.com/users/jacobcoens","login":"jacobcoens","avatar_url":"https://secure.gravatar.com/avatar/c76bca58e7a8cffa9221eaebe6358f07?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"As the originCheck checks against the host property of the hyperlink, (in some cases) the port number is included whereas it is not included in the host property of window.location.\r\n\r\nI've fixed this by using the hostname property of the hyperlink in stead of the host property.\r\n\r\nAlso, I think the protocols should match so that linking to and from the https-secured site will result in a page refresh.\r\n\r\nThis would result in the following for line 220 of davis.js\r\n\t  return elem.hostname !== window.location.host || elem.protocol !== window.location.protocol\r\n","assignee":null,"number":25,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2474143,"labels":[],"title":"originChecks of Davis.listener don't work correctly in IE8","html_url":"https://github.com/olivernn/davis.js/issues/25","closed_at":null,"url":"https://api.github.com/repos/olivernn/davis.js/issues/25","milestone":null},"action":"opened"}