malenkix / guestbook

A smart guestbook for your events.
MIT License
0 stars 0 forks source link

Backend validation #35

Open NadirHelix opened 6 years ago

NadirHelix commented 6 years ago

To avoid failures due to illegal characters a validation of the incoming request bodies is required.

TODO

  1. filter invalid characters from message, name, subtext and wishes
  2. validated all number inputs
  3. remove leading or closing whitespaces
  4. check for existing fonts and backgrounds.