{"action":"closed","issue":{"url":"https://api.github.com/repos/validator/validator/issues/99","labels_url":"https://api.github.com/repos/validator/validator/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/validator/validator/issues/99/comments","events_url":"https://api.github.com/repos/validator/validator/issues/99/events","html_url":"https://github.com/validator/validator/issues/99","id":84529084,"number":99,"title":"checking documents over http doesn't work on windows","user":{"login":"mariusj","id":71719,"avatar_url":"https://avatars.githubusercontent.com/u/71719?v=3","gravatar_id":"","url":"https://api.github.com/users/mariusj","html_url":"https://github.com/mariusj","followers_url":"https://api.github.com/users/mariusj/followers","following_url":"https://api.github.com/users/mariusj/following{/other_user}","gists_url":"https://api.github.com/users/mariusj/gists{/gist_id}","starred_url":"https://api.github.com/users/mariusj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariusj/subscriptions","organizations_url":"https://api.github.com/users/mariusj/orgs","repos_url":"https://api.github.com/users/mariusj/repos","events_url":"https://api.github.com/users/mariusj/events{/privacy}","received_events_url":"https://api.github.com/users/mariusj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-03T12:15:58Z","updated_at":"2015-06-25T09:17:14Z","closed_at":"2015-06-25T09:17:14Z","body":"When you invoke vnu on Windows to check web documents over http or https it returns File not found error.\r\n```\r\n  java -jar vnu.jar --verbose https://www.google.com\r\n  \"file:/c:/utils/vnu/https:/www.google.com\": info warning: File not found.\r\n```\r\nThe code tries to locate the document in the file system. This is caused by converting the URL to File object, and then checking for `http:/` prefix in `checkHtmlFile`. On windows all `/` are changed to `\\`, so the filename is not matching the URL pattern."}}