AddFilePost doesn't validate input. #8
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: asdam9/FoCuSSG#8
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
AddFilePost should validate input, otherwise the function BlogWrite, can pass an empty template, which will then just be loaded in as a post.
It should validate when parsing the template, whether it is a valid template, and if it is filled in. Else it shouldn't add the post, and should return -1.