dchege711 / study_buddy

I read a lot, but remember too little. I write this web app to scratch my own itch.
https://cards.curiosities.dev/
MIT License
2 stars 0 forks source link

[Major] Add server-side input validation #182

Closed dchege711 closed 2 days ago

dchege711 commented 2 weeks ago

Install zod 1 for use in input parsing/validation. Bump validator, which we use in conjunction with zod. We remove the custom sanitizeQuery function.

Some functional fixes discovered while validating/parsing input:

render[bot] commented 2 weeks ago

Your Render PR Server URL is https://flashcards-pr-182.onrender.com.

Follow its progress at https://dashboard.render.com/web/srv-cpnhmqhu0jms73fr1j20.