{"action":"opened","issue":{"url":"https://api.github.com/repos/servo/rust-url/issues/124","labels_url":"https://api.github.com/repos/servo/rust-url/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/servo/rust-url/issues/124/comments","events_url":"https://api.github.com/repos/servo/rust-url/issues/124/events","html_url":"https://github.com/servo/rust-url/issues/124","id":100185744,"number":124,"title":"Integer Overflow on odd `file` URL","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-10T22:51:11Z","updated_at":"2015-08-10T22:51:11Z","closed_at":null,"body":"This code:\r\n\r\n```rust\r\n\"file:...\".parse::<Url>();\r\n```\r\n\r\nwill yield this error:\r\n\r\n```\r\ntest tests::bad_file_url ... FAILED\r\n\r\nfailures:\r\n\r\n---- tests::bad_file_url stdout ----\r\n        thread 'tests::bad_file_url' panicked at 'arithmetic operation overflowed', src/parser.rs:287\r\n\r\n\r\n\r\nfailures:\r\n    tests::bad_file_url\r\n\r\ntest result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured\r\n```"}}