{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/2756","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/2756/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/2756/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/2756/events","html_url":"https://github.com/balderdashy/sails/pull/2756","id":62420272,"number":2756,"title":"req.param() is broken","user":{"login":"jub3i","id":867937,"avatar_url":"https://avatars.githubusercontent.com/u/867937?v=3","gravatar_id":"","url":"https://api.github.com/users/jub3i","html_url":"https://github.com/jub3i","followers_url":"https://api.github.com/users/jub3i/followers","following_url":"https://api.github.com/users/jub3i/following{/other_user}","gists_url":"https://api.github.com/users/jub3i/gists{/gist_id}","starred_url":"https://api.github.com/users/jub3i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jub3i/subscriptions","organizations_url":"https://api.github.com/users/jub3i/orgs","repos_url":"https://api.github.com/users/jub3i/repos","events_url":"https://api.github.com/users/jub3i/events{/privacy}","received_events_url":"https://api.github.com/users/jub3i/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-17T15:00:01Z","updated_at":"2015-03-17T15:05:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/balderdashy/sails/pulls/2756","html_url":"https://github.com/balderdashy/sails/pull/2756","diff_url":"https://github.com/balderdashy/sails/pull/2756.diff","patch_url":"https://github.com/balderdashy/sails/pull/2756.patch"},"body":"for example if you posted data `{ isPirate: false }` and you run `req.param('isPirate')` from a controller, you'd get `undefined` returned as you didn't specify a `defaultValue` - so basically you couldn't post params that where === false. I think this edit captures the spirit of the OR guard used previously. If your happy with this, I would be ok with writing a test... if needed."},"comment":{"url":"https://api.github.com/repos/balderdashy/sails/issues/comments/82396624","html_url":"https://github.com/balderdashy/sails/pull/2756#issuecomment-82396624","issue_url":"https://api.github.com/repos/balderdashy/sails/issues/2756","id":82396624,"user":{"login":"jub3i","id":867937,"avatar_url":"https://avatars.githubusercontent.com/u/867937?v=3","gravatar_id":"","url":"https://api.github.com/users/jub3i","html_url":"https://github.com/jub3i","followers_url":"https://api.github.com/users/jub3i/followers","following_url":"https://api.github.com/users/jub3i/following{/other_user}","gists_url":"https://api.github.com/users/jub3i/gists{/gist_id}","starred_url":"https://api.github.com/users/jub3i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jub3i/subscriptions","organizations_url":"https://api.github.com/users/jub3i/orgs","repos_url":"https://api.github.com/users/jub3i/repos","events_url":"https://api.github.com/users/jub3i/events{/privacy}","received_events_url":"https://api.github.com/users/jub3i/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T15:05:24Z","updated_at":"2015-03-17T15:05:24Z","body":"if anyone is interested a temporary workaround for this: instead of using `req.param('myParamName')` you would use `req.allParams().myParamName`"}}