AddFilePost doesn't validate input. #8

Closed
opened 2021-11-11 18:10:33 +00:00 by asdam9 · 0 comments
Owner

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.

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.
asdam9 added this to the Database Handler milestone 2021-11-11 18:10:33 +00:00
asdam9 self-assigned this 2021-11-11 18:10:33 +00:00
asdam9 added the correction label 2021-11-15 18:08:53 +00:00
Sign in to join this conversation.