alphagov/backdrop — pull request #15 by pbadenski (2013-03-21 16:19:05+00:00)
Title: Extend validation

- Added '_week_start_at' as allowed field to validation
- Two extra validations added so that we return 400 with an erro message instead of generic 500 (with an exception thrown behind the scenes)
- Validation added to prevent a user from querying using "$where" statement