ziotom78 / instrumentdb

Implementation of a RESTful instrument database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add validation checks

ziotom78 opened this issue · comments

The way the codebase works right now is fragile: very little checks are made on user input. This issue encompasses a number of weaknesses in the code:

  • UUIDs should be checked
  • HTTP 404 errors should be issued properly
  • MIME types should be checked when loaded from YAML files

This issue is outdated, as many validators and checks have been added in the last years. I'll close it for the moment; in the future, I will open more specific issues about this topic if necessary.