Tested by inputting various bad inputs for both the title and the content input field, it should clean the bad input characters and pass a valid string. It cleans the bad characters when tested with postman.
Screenshots (if appropriate - Postman, etc):
IT CLEANS BAD INPUT =>:
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
Description
Fixed the input validation to prevent bad input such as; into the DB. API DOC LINK
Related Issue (Link to Github issue)
271
How Has This Been Tested?
Tested by inputting various bad inputs for both the title and the content input field, it should clean the bad input characters and pass a valid string. It cleans the bad characters when tested with postman.
Screenshots (if appropriate - Postman, etc):
IT CLEANS BAD INPUT =>:
Types of changes
Checklist: