Hi,
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?
Thanks!
REST API vs SQL INJECTION
Moderators: Developer, Contributor
Re: REST API vs SQL INJECTION
IMO, REST API should do the job. If you go for SQL Injection, you would need to clean your data
Re: REST API vs SQL INJECTION
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.
Thanks,
-Victor
Thanks,
-Victor
Migrate your MantisBT to the MantisHub Cloud