OpenJBOD / software

MIT License
30 stars 2 forks source link

Settings Page Validation Logic #5

Open TheGuyDanish opened 3 months ago

TheGuyDanish commented 3 months ago

The handling of /setting's POST method currently does not do any validation on the input. This would be desirable to ensure IP's are valid, names aren't too long, etc. Similarly, all items in the settings page are written on every save at the moment. It would be desirable to move to a logic where only changed fields are saved.