From a7243c450000719085f9f31eafb7b24b67047f6d Mon Sep 17 00:00:00 2001 From: menesakdeniz <140202080@kocaeli.edu.tr> Date: Tue, 13 Mar 2018 14:52:58 +0300 Subject: [PATCH 1/2] Update v0002.php Fixed requestcustomlink service --- api/requestcustomlink/v0002.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/requestcustomlink/v0002.php b/api/requestcustomlink/v0002.php index 0aaf97c..f1e0246 100644 --- a/api/requestcustomlink/v0002.php +++ b/api/requestcustomlink/v0002.php @@ -8,7 +8,7 @@ die(); } -$url = $_POST["Url"]); +$url = $_POST["Url"]; $stringsToReplace = [ "SteamID", "SteamID64", "Hostname", "IpAddress" ,"Port", "UserId", "Client", "Args" ]; From 6e916efaf0c5bb2e551a9c1c516fd4a5c4768c21 Mon Sep 17 00:00:00 2001 From: menesakdeniz <140202080@kocaeli.edu.tr> Date: Tue, 13 Mar 2018 15:09:21 +0300 Subject: [PATCH 2/2] Fixed errors Fixed errors --- api/requestcustomlink/v0002.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/requestcustomlink/v0002.php b/api/requestcustomlink/v0002.php index f1e0246..4b15be9 100644 --- a/api/requestcustomlink/v0002.php +++ b/api/requestcustomlink/v0002.php @@ -26,7 +26,7 @@ */ $UserId = $mysqli->real_escape_string($_POST["UserId"]); -$steamid = $mysqli->real_escape_string($_POST["SteamID"]); +$steamid = $mysqli->real_escape_string($_POST["SteamId"]); $serverkey = $mysqli->real_escape_string($_POST["ServerKey"]); $urlEx = $mysqli->real_escape_string($url);