generated from your-land/yl_template
QA Input from JSON is not validated #3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wrong: Whatever is written in the JSON goes to the list.
Expected: What comes from JSON is validated.
That's bad, because the JSON might be written from some outside program. We explicitly chose JSON files and not modstorage to open this possibility, but if we can't rely on what's in the JSON, we need to validate it.
I added very basic JSON validation