mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Security Added some mysql escapes to some get vars in api and guest view invoice and quote
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
if(isset($_GET['invoice_id'], $_GET['url_key'])){
|
||||
|
||||
$url_key = $_GET['url_key'];
|
||||
$url_key = mysqli_real_escape_string($mysqli,$_GET['url_key']);
|
||||
$invoice_id = intval($_GET['invoice_id']);
|
||||
|
||||
$sql = mysqli_query($mysqli,"SELECT * FROM invoices, clients
|
||||
|
||||
Reference in New Issue
Block a user