{"action":"created","issue":{"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/366","repository_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner","labels_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/366/comments","events_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/366/events","html_url":"https://github.com/ONSdigital/eq-survey-runner/issues/366","id":170658262,"number":366,"title":"POST data field length not validated in backend","user":{"login":"collisdigital","id":14041600,"avatar_url":"https://avatars.githubusercontent.com/u/14041600?v=3","gravatar_id":"","url":"https://api.github.com/users/collisdigital","html_url":"https://github.com/collisdigital","followers_url":"https://api.github.com/users/collisdigital/followers","following_url":"https://api.github.com/users/collisdigital/following{/other_user}","gists_url":"https://api.github.com/users/collisdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/collisdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collisdigital/subscriptions","organizations_url":"https://api.github.com/users/collisdigital/orgs","repos_url":"https://api.github.com/users/collisdigital/repos","events_url":"https://api.github.com/users/collisdigital/events{/privacy}","received_events_url":"https://api.github.com/users/collisdigital/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/labels/major%20(P2)","name":"major (P2)","color":"d93f0b"}],"state":"open","locked":false,"assignee":{"login":"warrenbailey","id":14093825,"avatar_url":"https://avatars.githubusercontent.com/u/14093825?v=3","gravatar_id":"","url":"https://api.github.com/users/warrenbailey","html_url":"https://github.com/warrenbailey","followers_url":"https://api.github.com/users/warrenbailey/followers","following_url":"https://api.github.com/users/warrenbailey/following{/other_user}","gists_url":"https://api.github.com/users/warrenbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/warrenbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warrenbailey/subscriptions","organizations_url":"https://api.github.com/users/warrenbailey/orgs","repos_url":"https://api.github.com/users/warrenbailey/repos","events_url":"https://api.github.com/users/warrenbailey/events{/privacy}","received_events_url":"https://api.github.com/users/warrenbailey/received_events","type":"User","site_admin":false},"assignees":[{"login":"warrenbailey","id":14093825,"avatar_url":"https://avatars.githubusercontent.com/u/14093825?v=3","gravatar_id":"","url":"https://api.github.com/users/warrenbailey","html_url":"https://github.com/warrenbailey","followers_url":"https://api.github.com/users/warrenbailey/followers","following_url":"https://api.github.com/users/warrenbailey/following{/other_user}","gists_url":"https://api.github.com/users/warrenbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/warrenbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warrenbailey/subscriptions","organizations_url":"https://api.github.com/users/warrenbailey/orgs","repos_url":"https://api.github.com/users/warrenbailey/repos","events_url":"https://api.github.com/users/warrenbailey/events{/privacy}","received_events_url":"https://api.github.com/users/warrenbailey/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-11T14:23:47Z","updated_at":"2016-08-12T08:38:44Z","closed_at":null,"body":"### Expected behaviour\r\nAll fields submitted in a POST request are length limited by the backend\r\n\r\n### Actual behaviour\r\nSome fields (e.g. comments) aren't length limited in the backend.\r\n\r\n### Steps to reproduce the behaviour\r\nSend POST data for a comment field that exceed 2000 characters\r\n\r\n### Technical information\r\n\r\n#### Browser\r\nAll\r\n\r\n#### Operating System\r\nAll\r\n\r\n### Screenshot\r\nN/A\r\n"},"comment":{"url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/comments/239392036","html_url":"https://github.com/ONSdigital/eq-survey-runner/issues/366#issuecomment-239392036","issue_url":"https://api.github.com/repos/ONSdigital/eq-survey-runner/issues/366","id":239392036,"user":{"login":"warrenbailey","id":14093825,"avatar_url":"https://avatars.githubusercontent.com/u/14093825?v=3","gravatar_id":"","url":"https://api.github.com/users/warrenbailey","html_url":"https://github.com/warrenbailey","followers_url":"https://api.github.com/users/warrenbailey/followers","following_url":"https://api.github.com/users/warrenbailey/following{/other_user}","gists_url":"https://api.github.com/users/warrenbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/warrenbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warrenbailey/subscriptions","organizations_url":"https://api.github.com/users/warrenbailey/orgs","repos_url":"https://api.github.com/users/warrenbailey/repos","events_url":"https://api.github.com/users/warrenbailey/events{/privacy}","received_events_url":"https://api.github.com/users/warrenbailey/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T08:38:44Z","updated_at":"2016-08-12T08:38:44Z","body":"I suggest we check the comments size backend in the type validation, but we also set a MAX_CONTENT_LENGTH"}}
{"actor":{"display_login":"warrenbailey"}}