{"action":"created","issue":{"url":"https://api.github.com/repos/ethcore/parity/issues/3945","repository_url":"https://api.github.com/repos/ethcore/parity","labels_url":"https://api.github.com/repos/ethcore/parity/issues/3945/labels{/name}","comments_url":"https://api.github.com/repos/ethcore/parity/issues/3945/comments","events_url":"https://api.github.com/repos/ethcore/parity/issues/3945/events","html_url":"https://github.com/ethcore/parity/pull/3945","id":197171641,"number":3945,"title":"Fix manual input token (invalid regex)","user":{"login":"jacogr","id":1424473,"avatar_url":"https://avatars.githubusercontent.com/u/1424473?v=3","gravatar_id":"","url":"https://api.github.com/users/jacogr","html_url":"https://github.com/jacogr","followers_url":"https://api.github.com/users/jacogr/followers","following_url":"https://api.github.com/users/jacogr/following{/other_user}","gists_url":"https://api.github.com/users/jacogr/gists{/gist_id}","starred_url":"https://api.github.com/users/jacogr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacogr/subscriptions","organizations_url":"https://api.github.com/users/jacogr/orgs","repos_url":"https://api.github.com/users/jacogr/repos","events_url":"https://api.github.com/users/jacogr/events{/privacy}","received_events_url":"https://api.github.com/users/jacogr/received_events","type":"User","site_admin":false},"labels":[{"id":309708100,"url":"https://api.github.com/repos/ethcore/parity/labels/A0-pleasereview","name":"A0-pleasereview","color":"666666","default":false},{"id":441816465,"url":"https://api.github.com/repos/ethcore/parity/labels/M7-ui","name":"M7-ui","color":"eaefff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-22T13:11:54Z","updated_at":"2016-12-22T13:47:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ethcore/parity/pulls/3945","html_url":"https://github.com/ethcore/parity/pull/3945","diff_url":"https://github.com/ethcore/parity/pull/3945.diff","patch_url":"https://github.com/ethcore/parity/pull/3945.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/ethcore/parity/issues/comments/268802754","html_url":"https://github.com/ethcore/parity/pull/3945#issuecomment-268802754","issue_url":"https://api.github.com/repos/ethcore/parity/issues/3945","id":268802754,"user":{"login":"ngotchac","id":2864519,"avatar_url":"https://avatars.githubusercontent.com/u/2864519?v=3","gravatar_id":"","url":"https://api.github.com/users/ngotchac","html_url":"https://github.com/ngotchac","followers_url":"https://api.github.com/users/ngotchac/followers","following_url":"https://api.github.com/users/ngotchac/following{/other_user}","gists_url":"https://api.github.com/users/ngotchac/gists{/gist_id}","starred_url":"https://api.github.com/users/ngotchac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngotchac/subscriptions","organizations_url":"https://api.github.com/users/ngotchac/orgs","repos_url":"https://api.github.com/users/ngotchac/repos","events_url":"https://api.github.com/users/ngotchac/events{/privacy}","received_events_url":"https://api.github.com/users/ngotchac/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T13:47:15Z","updated_at":"2016-12-22T13:47:15Z","body":"The thing is that the token input but the user gets modified anyway via `token.replace(/[^a-zA-Z0-9]/g, '')`. IMO, the check should be whether the transformed token is valid or not (ie. being 16 chars long). That's how it's stored in localstorage too."}}
{"actor":{"display_login":"ngotchac"}}