{"action":"created","issue":{"url":"https://api.github.com/repos/pallets/werkzeug/issues/898","repository_url":"https://api.github.com/repos/pallets/werkzeug","labels_url":"https://api.github.com/repos/pallets/werkzeug/issues/898/labels{/name}","comments_url":"https://api.github.com/repos/pallets/werkzeug/issues/898/comments","events_url":"https://api.github.com/repos/pallets/werkzeug/issues/898/events","html_url":"https://github.com/pallets/werkzeug/pull/898","id":148443710,"number":898,"title":"Recognize NetBSD and OpenBSD platforms in the useragent string.","user":{"login":"abhinav-upadhyay","id":328300,"avatar_url":"https://avatars.githubusercontent.com/u/328300?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinav-upadhyay","html_url":"https://github.com/abhinav-upadhyay","followers_url":"https://api.github.com/users/abhinav-upadhyay/followers","following_url":"https://api.github.com/users/abhinav-upadhyay/following{/other_user}","gists_url":"https://api.github.com/users/abhinav-upadhyay/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinav-upadhyay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinav-upadhyay/subscriptions","organizations_url":"https://api.github.com/users/abhinav-upadhyay/orgs","repos_url":"https://api.github.com/users/abhinav-upadhyay/repos","events_url":"https://api.github.com/users/abhinav-upadhyay/events{/privacy}","received_events_url":"https://api.github.com/users/abhinav-upadhyay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-04-14T18:22:41Z","updated_at":"2016-04-17T16:48:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pallets/werkzeug/pulls/898","html_url":"https://github.com/pallets/werkzeug/pull/898","diff_url":"https://github.com/pallets/werkzeug/pull/898.diff","patch_url":"https://github.com/pallets/werkzeug/pull/898.patch"},"body":"I noticed that the platform in the useragent was being reported as linux for user agent strings which had NetBSD and OpenBSD as platforms. A sample user agent string is below. The proposed change helps recognize the correct platform for these strings.\r\n\r\n```Mozilla/5.0 (X11; OpenBSD amd64; rv:45.0) Gecko/20100101 Firefox/45.0```\r\n ```Mozilla/5.0 (X11; NetBSD amd64; rv:45.0) Gecko/20100101 Firefox/45.0```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pallets/werkzeug/issues/comments/211054760","html_url":"https://github.com/pallets/werkzeug/pull/898#issuecomment-211054760","issue_url":"https://api.github.com/repos/pallets/werkzeug/issues/898","id":211054760,"user":{"login":"abhinav-upadhyay","id":328300,"avatar_url":"https://avatars.githubusercontent.com/u/328300?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinav-upadhyay","html_url":"https://github.com/abhinav-upadhyay","followers_url":"https://api.github.com/users/abhinav-upadhyay/followers","following_url":"https://api.github.com/users/abhinav-upadhyay/following{/other_user}","gists_url":"https://api.github.com/users/abhinav-upadhyay/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinav-upadhyay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinav-upadhyay/subscriptions","organizations_url":"https://api.github.com/users/abhinav-upadhyay/orgs","repos_url":"https://api.github.com/users/abhinav-upadhyay/repos","events_url":"https://api.github.com/users/abhinav-upadhyay/events{/privacy}","received_events_url":"https://api.github.com/users/abhinav-upadhyay/received_events","type":"User","site_admin":false},"created_at":"2016-04-17T16:48:48Z","updated_at":"2016-04-17T16:48:48Z","body":"@untitaker Added few tests for different useragent strings. Have a look."}}