General discussion of Mantis.
Moderators: Developer, Contributor
- Posts: 4
- Joined: Apr 23, 2018 7:18 am
Quick question, if i`m using rest api and php to create issuses, should i santitize data before send to api or mantis do this on his own? Does mantis use PDO or something similar?
- Posts: 10
- Joined: Feb 02, 2019 3:37 pm
IMO, REST API should do the job. If you go for SQL Injection, you would need to clean your data
- Site Admin
- Posts: 1288
- Joined: Feb 13, 2005 5:11 pm
- Location: Redmond, Washington
You shouldn’t sanitize the data. This will be handled by REST APi. You should just make sure they are sending valid requests with valid JSON.