mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-05-03 04:39:20 +02:00
Fix SQL injection in ipn.php
This commit is contained in:
parent
3c70b55ae3
commit
7a265593b8
6
ipn.php
6
ipn.php
@ -65,9 +65,9 @@
|
||||
$payment_status = $_POST['payment_status'];
|
||||
$payment_amount = $_POST['mc_gross'];
|
||||
$payment_currency = $_POST['mc_currency'];
|
||||
$txn_id = $_POST['txn_id'];
|
||||
$receiver_email = $_POST['receiver_email'];
|
||||
$payer_email = $_POST['payer_email'];
|
||||
$txn_id = getValue($_POST['txn_id']);
|
||||
$receiver_email = getValue($_POST['receiver_email']);
|
||||
$payer_email = getValue($_POST['payer_email']);
|
||||
$custom = (int)$_POST['custom'];
|
||||
|
||||
$connectedIp = $_SERVER['REMOTE_ADDR'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user