{"action":"created","issue":{"url":"https://api.github.com/repos/open-company/open-company-interaction/issues/22","repository_url":"https://api.github.com/repos/open-company/open-company-interaction","labels_url":"https://api.github.com/repos/open-company/open-company-interaction/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/open-company/open-company-interaction/issues/22/comments","events_url":"https://api.github.com/repos/open-company/open-company-interaction/issues/22/events","html_url":"https://github.com/open-company/open-company-interaction/pull/22","id":368642943,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNzcxNDA3","number":22,"title":"Strip out xss tags.","user":{"login":"thepug","id":55220,"node_id":"MDQ6VXNlcjU1MjIw","avatar_url":"https://avatars3.githubusercontent.com/u/55220?v=4","gravatar_id":"","url":"https://api.github.com/users/thepug","html_url":"https://github.com/thepug","followers_url":"https://api.github.com/users/thepug/followers","following_url":"https://api.github.com/users/thepug/following{/other_user}","gists_url":"https://api.github.com/users/thepug/gists{/gist_id}","starred_url":"https://api.github.com/users/thepug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thepug/subscriptions","organizations_url":"https://api.github.com/users/thepug/orgs","repos_url":"https://api.github.com/users/thepug/repos","events_url":"https://api.github.com/users/thepug/events{/privacy}","received_events_url":"https://api.github.com/users/thepug/received_events","type":"User","site_admin":false},"labels":[{"id":1038229262,"node_id":"MDU6TGFiZWwxMDM4MjI5MjYy","url":"https://api.github.com/repos/open-company/open-company-interaction/labels/awaiting%20revision","name":"awaiting revision","color":"853ad1","default":false}],"state":"open","locked":false,"assignee":{"login":"thepug","id":55220,"node_id":"MDQ6VXNlcjU1MjIw","avatar_url":"https://avatars3.githubusercontent.com/u/55220?v=4","gravatar_id":"","url":"https://api.github.com/users/thepug","html_url":"https://github.com/thepug","followers_url":"https://api.github.com/users/thepug/followers","following_url":"https://api.github.com/users/thepug/following{/other_user}","gists_url":"https://api.github.com/users/thepug/gists{/gist_id}","starred_url":"https://api.github.com/users/thepug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thepug/subscriptions","organizations_url":"https://api.github.com/users/thepug/orgs","repos_url":"https://api.github.com/users/thepug/repos","events_url":"https://api.github.com/users/thepug/events{/privacy}","received_events_url":"https://api.github.com/users/thepug/received_events","type":"User","site_admin":false},"assignees":[{"login":"thepug","id":55220,"node_id":"MDQ6VXNlcjU1MjIw","avatar_url":"https://avatars3.githubusercontent.com/u/55220?v=4","gravatar_id":"","url":"https://api.github.com/users/thepug","html_url":"https://github.com/thepug","followers_url":"https://api.github.com/users/thepug/followers","following_url":"https://api.github.com/users/thepug/following{/other_user}","gists_url":"https://api.github.com/users/thepug/gists{/gist_id}","starred_url":"https://api.github.com/users/thepug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thepug/subscriptions","organizations_url":"https://api.github.com/users/thepug/orgs","repos_url":"https://api.github.com/users/thepug/repos","events_url":"https://api.github.com/users/thepug/events{/privacy}","received_events_url":"https://api.github.com/users/thepug/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-10-10T12:33:12Z","updated_at":"2018-10-12T08:59:44Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/open-company/open-company-interaction/pulls/22","html_url":"https://github.com/open-company/open-company-interaction/pull/22","diff_url":"https://github.com/open-company/open-company-interaction/pull/22.diff","patch_url":"https://github.com/open-company/open-company-interaction/pull/22.patch"},"body":"Remove cross site scripting tags.\r\n\r\nSimilar to https://github.com/open-company/open-company-storage/pull/158 you will need postman to make a request to the interaction service.\r\n\r\n- add a comment with `<script>` or `<style>` tags\r\n- [x] are they removed in the returned data?\r\n- [x] are they not in the database?"},"comment":{"url":"https://api.github.com/repos/open-company/open-company-interaction/issues/comments/429256190","html_url":"https://github.com/open-company/open-company-interaction/pull/22#issuecomment-429256190","issue_url":"https://api.github.com/repos/open-company/open-company-interaction/issues/22","id":429256190,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTI1NjE5MA==","user":{"login":"bago2k4","id":642704,"node_id":"MDQ6VXNlcjY0MjcwNA==","avatar_url":"https://avatars3.githubusercontent.com/u/642704?v=4","gravatar_id":"","url":"https://api.github.com/users/bago2k4","html_url":"https://github.com/bago2k4","followers_url":"https://api.github.com/users/bago2k4/followers","following_url":"https://api.github.com/users/bago2k4/following{/other_user}","gists_url":"https://api.github.com/users/bago2k4/gists{/gist_id}","starred_url":"https://api.github.com/users/bago2k4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bago2k4/subscriptions","organizations_url":"https://api.github.com/users/bago2k4/orgs","repos_url":"https://api.github.com/users/bago2k4/repos","events_url":"https://api.github.com/users/bago2k4/events{/privacy}","received_events_url":"https://api.github.com/users/bago2k4/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T08:59:44Z","updated_at":"2018-10-12T08:59:44Z","author_association":"MEMBER","body":"@thepug fixed that myself, you used `update-in` instead of `assoc-in`, nothing to worry.\r\n\r\nI also tested the update comment and it looks like the body is cleaned even when PATCHing, not only on POST (create)."}}
{"actor":{"display_login":"bago2k4"}}