ThriveCommunityChurch / ThriveChurchOfficialAPI

Datastore management for Sermon Series & Public API for our iOS app
http://thrive-fl.org
MIT License
3 stars 0 forks source link

Prevent users from hitting 414 on Passages Controller #45

Closed ksigWyatt closed 4 years ago

ksigWyatt commented 5 years ago

BUG / Task

If a user makes a request that hits either of these conditions, should have their request rejected and given a 400.

ksigWyatt commented 4 years ago

Just a note here, if someone enters over 5000 characters - that's the .NET runtime and the web server itself saying this is an invalid request so you'll get a 414.

However, there is now a character limit of 200 with a min of 3 characters to perform a search.