{"action":"created","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1746","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1746/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1746/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1746/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1746","id":34581252,"number":1746,"title":"Double slash absolute url in links gives an error","user":{"login":"chrisc0","id":1681461,"avatar_url":"https://avatars.githubusercontent.com/u/1681461?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisc0","html_url":"https://github.com/chrisc0","followers_url":"https://api.github.com/users/chrisc0/followers","following_url":"https://api.github.com/users/chrisc0/following{/other_user}","gists_url":"https://api.github.com/users/chrisc0/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisc0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisc0/subscriptions","organizations_url":"https://api.github.com/users/chrisc0/orgs","repos_url":"https://api.github.com/users/chrisc0/repos","events_url":"https://api.github.com/users/chrisc0/events{/privacy}","received_events_url":"https://api.github.com/users/chrisc0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/labels/Duplicate","name":"Duplicate","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-05-29T18:47:52Z","updated_at":"2015-04-18T10:17:38Z","closed_at":"2014-05-29T22:23:50Z","body":"If my html has a link like this:\r\n\r\n**src=\"//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js\"**\r\n\r\nwkhtmltopdf gives the error \"Exit with code 1 due to network error: ProtocolInvalidOperationError\"."},"comment":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/comments/94151094","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1746#issuecomment-94151094","issue_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1746","id":94151094,"user":{"login":"pschultz","id":607733,"avatar_url":"https://avatars.githubusercontent.com/u/607733?v=3","gravatar_id":"","url":"https://api.github.com/users/pschultz","html_url":"https://github.com/pschultz","followers_url":"https://api.github.com/users/pschultz/followers","following_url":"https://api.github.com/users/pschultz/following{/other_user}","gists_url":"https://api.github.com/users/pschultz/gists{/gist_id}","starred_url":"https://api.github.com/users/pschultz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pschultz/subscriptions","organizations_url":"https://api.github.com/users/pschultz/orgs","repos_url":"https://api.github.com/users/pschultz/repos","events_url":"https://api.github.com/users/pschultz/events{/privacy}","received_events_url":"https://api.github.com/users/pschultz/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T10:17:38Z","updated_at":"2015-04-18T10:17:38Z","body":"@ashkulz, protocol-relative URLs _are_ relative, as the name suggests. It is defined as such by [RFC 3986, 4.2][1]. Section 5 explicitly describes how to resolve references without a scheme against a base URI.\r\n\r\nAlso, Chrome does it this way:\r\n\r\n![base_url](https://cloud.githubusercontent.com/assets/607733/7215018/804fdefc-e5c4-11e4-9c42-bd9c78767440.png)\r\n\r\n\r\n[1]: https://tools.ietf.org/html/rfc3986#section-4.2"}}