Skip to content
Snippets Groups Projects

Update API Development Apr 2021.postman_collection.json, api/REST.api.php, api/index.php files

Merged Sibidharan requested to merge sibidharan-master-patch-85254 into master
4 files
+ 565
16
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 3
3
@@ -102,9 +102,9 @@
$clean_input[$k] = $this->cleanInputs($v);
}
}else{
$data = trim(stripslashes($data));
$data = strip_tags($data);
$data = mysqli_real_escape_string(Database::getConnection(), $data);
//$data = trim(stripslashes($data));
$data = strip_tags($data);
$clean_input = trim($data);
}
return $clean_input;
@@ -115,4 +115,4 @@
header("Content-Type:".$this->_content_type);
}
}
?>
\ No newline at end of file
?>
Loading