From a8aa7d33707eacc55e2f4b9e31563d6514c4ead8 Mon Sep 17 00:00:00 2001 From: db-2001 Date: Thu, 18 Apr 2024 18:45:19 -0400 Subject: [PATCH] Okay, actually write request variables to log. --- Tranga/Server.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tranga/Server.cs b/Tranga/Server.cs index e7c0d41..923680c 100644 --- a/Tranga/Server.cs +++ b/Tranga/Server.cs @@ -733,7 +733,10 @@ public class Server : GlobalBase default: Log("Invalid Request:"); Log(request.Url!.Query); - Log(requestParams); + foreach (KeyValuePair kvp in requestParams) + { + Log("Request variable = {0}, Variable Value = {1}", kvp.Key, kvp.Value); + } SendResponse(HttpStatusCode.BadRequest, response); break; }